this post was submitted on 26 Jun 2023
153 points (100.0% liked)

Programmer Humor

852 readers
2 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 6 comments
sorted by: hot top controversial new old
[–] jeena@jemmy.jeena.net 17 points 1 year ago (1 children)

At university the by far coolest and most fun course was compiler construction. We had to write something which would compile a small subset of Java (Javalette) into the Java Virtual Machine instruction set.

I wrote my compiler in Haskell because it seemed that it'd be much less hassle compared to do it in a object oriented or procedual language.

It ain't pretty but it's honest work: https://github.com/jeena/CC/blob/master/Compiler.hs

[–] CanadaPlus@lemmy.sdf.org 3 points 1 year ago

I have an idea for a Rust-like language with total functional methods bouncing around in my head. Lord knows when I'll get around to building it.

[–] pewpew@feddit.it 7 points 1 year ago (1 children)

The programmer who made the OS

[–] nychtelios@rlyeh.icu 12 points 1 year ago (1 children)

Actually compilers are more complex than operative systems, and incredibly they are built using compilers.

[–] pewpew@feddit.it 3 points 1 year ago

I belive you. I made a basic OS in around a month and now i'm starting a C compiler, I think I underestimated it a bit

[–] Iamfallen@midwest.social 1 points 1 year ago

print("Hello World!")

load more comments
view more: next ›