this post was submitted on 06 Jan 2024
657 points (98.8% liked)

Programmer Humor

25484 readers
1840 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] bjoern_tantau@swg-empire.de 124 points 2 years ago (2 children)

How about a federated link aggregator?

[–] pineapplelover@lemm.ee 85 points 2 years ago

Didn't know Lemmy was written in Rust.

Edit: yep, it is https://github.com/LemmyNet/lemmy

Yoo it uses AGPL v3 too. That's pretty cool. Love to see it

[–] ObviouslyNotBanana@lemmy.world 47 points 2 years ago (1 children)
[–] TheGreenGolem@lemmy.dbzer0.com 24 points 2 years ago (2 children)

It can be definitely done. I think it shouldn't be too hard to optimize for scale, should it?

[–] rickyrigatoni@lemm.ee 15 points 2 years ago

just add more ram

[–] ObviouslyNotBanana@lemmy.world 8 points 2 years ago (1 children)

Lets just not think about it!

[–] jcg@halubilo.social 4 points 2 years ago

It's probably only ever gonna be used by like, what, a hundred people at most at any given time?

[–] Norgur@kbin.social 28 points 2 years ago

So I watched a few guides and did all that... what now? Would you think a shopping list app is doable for my knowledge after this? It looks really hard compared to NorgurOS... :(

[–] HiddenLayer5@lemmy.ml 25 points 2 years ago* (last edited 2 years ago)

For people who don't know, there is already a fully Rust OS: https://www.redox-os.org/

Microkernel too which is pretty cool.

[–] sirico@feddit.uk 23 points 2 years ago

Let me on the Linux kernel irq I can redo the whole thing!

[–] hypnotic_nerd@programming.dev 18 points 2 years ago

Very small projects 😂 after mastering it try building whooping to-do app in rust!

[–] AzureInfinity@leminal.space 17 points 2 years ago* (last edited 2 years ago) (3 children)

This actually wrong way to do it, here the pro way:

1.Start writing a game/app/engine/os.

2.Write dozen utility packages for it.

3.Write high-level packages for #2

4.Write a "light-weight" version of #3 when disgusted with bloat of #3.

5.repeat #2 with more modern rust code.

[–] porgamrer@programming.dev 4 points 2 years ago

you have been looking at my private github repos and are clearly a witch

[–] dejected_warp_core@lemmy.world 1 points 2 years ago

I'm in this picture and I don't like it. Also, you forgot:

1.5 Get completely wrapped around the axle by writing tooling to support said game engine art assets.

[–] Anders429@programming.dev 1 points 2 years ago

Don't forget to upload them all to crates.io. Add them to the list of useless crates that no one will ever use.

[–] Rom@hexbear.net 14 points 2 years ago (1 children)

Small science projects:

  • Baking soda and vinegar volcano

  • Moon landing

  • Splitting the atom

[–] dukk@programming.dev 3 points 2 years ago (1 children)

I love how simple and small scale splitting an atom sounds. Then you get to doing it…

[–] jasory@programming.dev 3 points 2 years ago

Splitting individual atoms isn't that difficult, you just need a neutron supply and some material (paraffin wax works) to slow them down and it will eventually happen at least with uranium. Doing it reliably and efficiently is a much harder problem.

[–] rockSlayer@lemmy.world 10 points 2 years ago (1 children)

It's just the natural progression of things

[–] unrelatedkeg@lemmy.sdf.org 1 points 2 years ago

I mean you're not wrong, but it kind of skips a lot of in-between steps.

[–] UnfortunateShort@lemmy.world 3 points 2 years ago

It's a matter of perspective. If the game is Tic-Tac-Toe and the system a basic RISC SOC with open firmware this might be a fun project :P

[–] Aux@lemmy.world 1 points 2 years ago (1 children)

To be fair, a simple operating system project is not that hard to implement.

[–] dejected_warp_core@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Point in case: Ben Eater recently uploaded a video where his "BIOS" consists of two I/O functions and compiles into less than 250 bytes. Double that if you count his port of WOZMON. We can argue later if that constitutes an operating system - I mean, it's not POSIX compliant but it does operate.

https://www.youtube.com/watch?v=0q6Ujn_zNH8

Edit: watch that space. The venerable MS BASIC is on the way after this.