Unable to load image

Porting my JavaScript Game Engine to C for No Reason E: Now with REAL drama! :marseyexcited: :marseyshook:

https://phoboslab.org/log/2024/08/high_impact

tl;dr, one of the first HTML5 engines gets ported to C after 14 years.

Code on github is a fun read and it even comes with its own little editor.

19
Jump in the discussion.

No email address required.

Lmao

C rules, rust can suck it

Jump in the discussion.

No email address required.

Rust will end up like Java and be widely used for a few years before it ends up just being maintained for legacy sake and be subsumed by the next flavor of the month OOP lanuage. Java's gimmick was portability and easy deployment on windows, mac, linux and Rusts gimmick is memory safety. Rust seems super nice when you are doing fizzbuzz and basic command line programming problems but the second you need a larger code base with alot of functions rust scales badly as passing arguments (esp strings and larger objects) in and out of scope is such a pain in Rust. If you code in rust you basically have to allow for quite a bit of code redundancy. Java and C# will still be more useful then rust since they arent just C++ but ghey !codecels

Jump in the discussion.

No email address required.

basically have to allow for quite a bit of code redundancy

:#marseybased:

:#marseytrans2: :#vegetakneel:

Jump in the discussion.

No email address required.

A first look at Rust in the 6.1 kernel

Kernel bros, I don't feel so good :marseysweating:

Jump in the discussion.

No email address required.

>it's a pain to pass arguments in rust

https://i.rdrama.net/images/17229453170409222.webp

Jump in the discussion.

No email address required.

Yeah idk why they can't just let you pass arbitrary pointers around, actually knowing the types and lifetimes of my variables well enough to state them is too much work

Jump in the discussion.

No email address required.

:marseyh#esright:

Jump in the discussion.

No email address required.

Rust is a massive b-word :marseyarthoe5: at any real scale :marseyjustice: this is true. I think :marseyhyperthonk: viable-C-replacement is still a compelling value prop.

Jump in the discussion.

No email address required.

I think the biggest flaw with all of the C wannabes is that they just won't let you do what you want to fricking do.

I'm all for good defaults but this is jannied programming and I hate it.

>YOU WILL NAME SYMBOLS THIS WAY OR I WON'T COMPILE

:soysnooseethe:

>UHHHH, ARE YOU GOING TO USE THAT SYMBOL? (heckin errorino)

:soysnoo:

>GOTO IN A SWITCH STATEMENT?! I DON'T THINK SOOO!

:soysnootypefast:

Jump in the discussion.

No email address required.

Oh yeah the enforced snake :marseydrsneks: case stuff is absolutely infuriating

Jump in the discussion.

No email address required.

>femboy goes on and on about the fricking wonders and glory of Rust

:#marseyeggirlpat:

Jump in the discussion.

No email address required.

Rust just ended up on a list of languages the US Government recommends for national security.

Jump in the discussion.

No email address required.

I think Java is still pretty widely used for new dev in some industries. I work at a big bank and we still start new projects in Java pretty often.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.