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.

!codecels !fosstards actual drama random encounter :marseylaugh:

https://news.ycombinator.com/item?id=41154135

>Honestly I would never ever execute any code from this guy. He is the inventor/founder behind the coinhive crypto mining network. [1]

>This guy made billions illegally [2], and maintained the biggest ransomware crypto coin network for years, by offering the cowtools and SDKs to fund dozens of cyber war involved agencies across the planet. [3]

>I have no idea how he got away with it, because his name keeps appearing in lots of crypto trading companies and trade registries. (Not gonna post them, but you can google his name to find this evidence)

>He even organized a doxxing campaign against brian krebs at the time called "krebsistscheisse" via his pr0gramm platform [4] [5] [6], to somehow defend the idea that abusing user's computers for personal enrichment is a legit way of making money if you donate some low percentage to cancer research with it?!?

>Sorry, but I would never trust this guy's code again. You should be careful, and audit any code he writes before you execute it.

>[1] https://krebsonsecurity.com/2018/03/who-and-what-is-coinhive...

>[2] 30% fee of monero/XMR went to coinhive: https://coinmarketcap.com/currencies/monero/

>[2b] Schuerfstatistik on pr0gramm, where it all started: https://web.archive.org/web/20231005033135/https://pr0gramm....

>[2c] Troyhunt analysis after he snatched away the coinhive TLD: https://web.archive.org/web/20240804081830/https://www.troyh...

>[3] https://www.trendmicro.com/vinfo/us/security/news/cybercrime...

>[3] https://krebsonsecurity.com/tag/dominic-szablewski/

>[4] https://krebsonsecurity.com/2019/03/annual-protest-raises-25...

>[5] (German) https://www.t-online.de/digital/aktuelles/id_83466874/tausen...

>[6] https://www.heise.de/news/krebsistscheisse-Spendenwelle-an-K...

>(Lots of other articles about it, and that dominic szlablewski was the guy behind coinhive, and the original owner of pr0gramm, while still doing development work for the company that owns the imageboard officially nowadays)

Jump in the discussion.

No email address required.

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

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

https://i.rdrama.net/images/17229451160657048.webp :marseyxd:

Jump in the discussion.

No email address required.

That post was made by :marseylolcow: cookiengineer who was according to him ':marseyknifecat:' by :marseyanon: 4chan :chudsmug: for rejecting the sneedacity :marseysneed: name.

Jump in the discussion.

No email address required.

Keeeek :marseyxd: I didn't even noootice that one :sneedchad: :marseyroxsneed: :oliverjaksneed:

Jump in the discussion.

No email address required.

no way

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.

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.

basically have to allow for quite a bit of code redundancy

:#marseybased:

:#marseytrans2: :#vegetakneel:

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.

OMG imagine using that disgusting language over RUST. As a proud rustacean, I'm going to inform you: that's blasphemy. You can do better. Grab cargo and start using a beautiful memory managed, statically typed, comfortable yet low level language with a spectacular packaging system. No more memory leaks. No more makefiles. End the weird bugs caused by unrequested type casting. Easily find libraries. AND ALL OF THAT IS BLAZING FAST (at C/cpp-level speeds - yay compiled langs and llvm c:). Why wouldn't you? The syntax is spectacular as well; extremely clean, much better than anything else out there. Those match statements are so extremely pleasant, and the looping conventions are orgasmic. And the compiler is the most useful and polite you'll come across; no more endlessly scrolling segmentation fault and template errors. It's amazing and I love it and you should switch now because it's far superior to literally everything else, all those gross languages you're used to using. Come to rust and you'll never look back, it's so versatile and cleeeeean. Graydon Hoare is literally a god. The rust book is my bible. this is my religion now. USE RUST

Snapshots:

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

Jump in the discussion.

No email address required.

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