224
submitted 4 days ago* (last edited 4 days ago) by QuinnyCoded@sh.itjust.works to c/showerthoughts@lemmy.world

also I just realized that Brazil did NOT make a programming language entirely in Spanish and call it "Si" and that my professor was making a joke about C... god damn it

this post is probably too nieche but I feel like Lemmy is nerdy enough that enough people will get it lol

you are viewing a single comment's thread
view the rest of the comments
[-] buttnugget@lemmy.world 4 points 3 days ago

Maybe I’ll build an OS in Python just for the fun of it! Haha

[-] cooligula@sh.itjust.works 2 points 3 days ago

You just cannot do it, I'm afraid. Python is an interpreted language, and requires de CPython library to be translated into machine code so that it can then be run, but that requires an underlying OS that makes the calls. The closest thing would be micropython, which can be run inside the Linux kernel, but that's about it. The only thing I can think of is using a custom compiler that would generate either C/C++ or assembly code from a Python script, and then compile it using a standard C/C++/assembly compiler.

[-] MonkderVierte@lemmy.zip 2 points 3 days ago* (last edited 3 days ago)

The closest thing would be micropython, which can be run inside the Linux kernel

So, there?

[-] cooligula@sh.itjust.works 3 points 3 days ago

That is not the same as building an OS in Python hahaha

[-] buttnugget@lemmy.world 1 points 3 days ago

Well shoot! This is really interesting though. I’m not a programmer, but I think I understand the basics of this.

[-] PlexSheep@infosec.pub 1 points 3 days ago

Guess they have to write a python compiler first then.

[-] MonkderVierte@lemmy.zip 1 points 3 days ago* (last edited 3 days ago)
this post was submitted on 20 Oct 2025
224 points (100.0% liked)

Showerthoughts

37852 readers
803 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.

Here are some examples to inspire your own showerthoughts:

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. No politics
    • If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
    • A good place for politics is c/politicaldiscussion
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct and the TOS

If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.

Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.

founded 2 years ago
MODERATORS