Hacker News new | ask | show | jobs
by ajsnigrutin 381 days ago
It's either LLM or "<existing software> written in <languge of the week>"
2 comments

Do you know why people started doing rewrites in other languages?

It's usually to help teach them the other language.

The rewrite part makes it easier for observers to learn and compare/contrast techniques in different environments for themselves.

Why this would ever be criticised, I can't imagine.

Because the language of the week changes often, and learning can be done by solving the problems of today instead of rewriting software into a version that will never be used. I mean... who still uses all the rewrites to ruby?

Even emacs was rewritten to rust ( https://github.com/remacs/remacs ), many hours were spent, and the last actual code commit was 5 years ago.... why not spend that time by making the "normal" emacs better? Or make something new in rust?

I'll say it again for the people struggling to hear in the back: it's for the experience.
I rewrote J in C, or D in F#, or Whogivesafuck in Rust and it's 8% better but don't ask me for my benchmark because it's secret sauce.
And I ported DOOM to it.

Well, it's actually just a hardcoded slideshow of E1M1 while something vaguely approximating the main riff of At Doom's Gate plays inconsistently in the background, but you'll have to watch all 15 excruciating minutes of this poorly-narrated Youtube video I'm linking to figure that out.

I ported DOOM to it. In 100 LOC. BTW it's just a a line shooting a ball of zero width, at another line. And there's some movement left and right. But not forward, nor backwards. So there's no real strafing. And the other line doesn't shoot a ball of zero width back.

But it's the spirit of DOOM!!!

/s

I started reading hackernews from very old posts to new ones, so i'm still rewriting stuff to ruby, because that will definitely be the universal programming language for the future!