Live data from Hacker News

Show HN: Rust compiler in PHP emitting x86-64 executables

github.com

41–50 of 58 posts

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#41

Earlier quoted context omitted.

Interesting that both you and nxtfari made essentially the same comment within an hour of each other, though yours is slightly modified

Yeah, right? Are we just... talking with bots?

It's pretty obvious that Anthropic has a bot army that advertises Claude in basically every post, I thought most people would've noticed by now.

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#42
post #20

I bet claude was hyping this guy up as he was building it. "Absolutely, a rust compiler written in PHP is a great idea!"

Every compiler in any language for any language has at the very least educational value.

On the other hand, demeaning comments without any traces of constructive criticism don't have any value.

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#43
post #36

Earlier quoted context omitted.

There is no comment on whether LLMs/agents have been used. I feel like projects should explicitly say if they were _or_ were not used. There is no license file, and no copyright header either. This feels like "fauxpen-source": imagine getting LEX+YACC to generate a parser, and presenting the generated C code as "open-source". This is just another way to throw binaries over the wire, but much worse. This has the _wors…

According to his Readme he seems to have built a 3D engine completely from scratch 8 years ago without using any library: https://github.com/mrconter1/IntuitiveEngine > A simple 3D engine made only with 2D drawLine functions.

That is (slightly) reassuring (but the rest of his portfolio does not inspire confidence). Nevertheless, we should be required to disclose whether the code has been (legally) tainted or not. This will help people make informed decisions, and will also help people replace the code if legal consequences appear on the horizon, or if they are ready to move from prototype to production.

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#44

[flagged]

> Seriously, in what world do we need a rust compiler in php? This is described in the README: > Useful if you need to compile Rust on a shared hosting server from 2008 where the only installed runtime is PHP. So I guess that world? I mean there's working around a problem and then there's working around a problem... It would be amusing if, in such a highly limited environment, the compiled binary was still unusable d…

Time to extend https://github.com/TheFox/i8086emu to x86_64

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#45
post #41

Earlier quoted context omitted.

Yeah, right? Are we just... talking with bots?

It's pretty obvious that Anthropic has a bot army that advertises Claude in basically every post, I thought most people would've noticed by now.

I don't think it's obvious. A likelier explanation is just that a lot of people are using Claude (especially HN types). Do you have any actual evidence?

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#46
post #39

I think people don't really realise that compilers are "difficult" projects in the same way as an appendicectomy is for a skilled surgeon, i.e. the surgery is "routine" only because the surgeons spent decades honing their skills to do these routinely. The hard part was training someone to be able to do that. Writing a compiler/interpreter is _extremely_ straightforward; a lexer -> parser -> ast -> semantic analysis -…

This is the first time I've heard the term 'apecode', and I will make sure to use it at every opportunity.

It is not mine unfortunately, it comes from a very funny write-up by rsaksida: https://rsaksida.com/blog/ape-coding/

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#47
post #41

Earlier quoted context omitted.

It's pretty obvious that Anthropic has a bot army that advertises Claude in basically every post, I thought most people would've noticed by now.

I don't think it's obvious. A likelier explanation is just that a lot of people are using Claude (especially HN types). Do you have any actual evidence?

You can explain away any obvious astroturfing campaign with "wow, so many people love this product and feel the need to bring it up all the time in unrelated contexts!" if you want to.

If you think two people making the exact same comment about "Claude Max" (not even just Claude, specifically bringing up the $200 subscription) on an unrelated post is organic, I don't know what to tell you.

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#49
post #43

Earlier quoted context omitted.

According to his Readme he seems to have built a 3D engine completely from scratch 8 years ago without using any library: https://github.com/mrconter1/IntuitiveEngine > A simple 3D engine made only with 2D drawLine functions.

That is (slightly) reassuring (but the rest of his portfolio does not inspire confidence). Nevertheless, we should be required to disclose whether the code has been (legally) tainted or not. This will help people make informed decisions, and will also help people replace the code if legal consequences appear on the horizon, or if they are ready to move from prototype to production.

Slightly?

Re: Show HN: Rust compiler in PHP emitting x86-64 executables

#50
post #29

> Useful if you need to compile Rust on a shared hosting server from 2008 where the only installed runtime is PHP. Not sure if it was meant as a joke or not, but this cracked me up

The code style seems to be targeting some old version of PHP...but I'm absolutely sure typed properties require a newer version of PHP than existed in 2008. (If I recall correctly, that's around the days of PHP 5.4 or so)
Post reply on HN