top | item 46911106

(no title)

qarl | 23 days ago

Deal. I'll pay you IF you can achieve the same level of performance. Heck, I'll double it.

You must provide the entire git history with small commits.

I won't be holding my breath.

discuss

order

lelanthran|23 days ago

> Deal. I'll pay you IF you can achieve the same level of performance. Heck, I'll double it.

> You must provide the entire git history with small commits.

> I won't be holding my breath.

Sure; I do this often (I operate as a company because I am a contractor) - money to be held in escrow, all the usual contracts, etc.

It's a big risk for you, though - the level of performance isn't stated in the linked article so a parser in Python is probably sufficient.

TCC, which has in the past compiled bootable Linux images, was only around 15k LoC in C!

For reference, for a engraved-in-stone spec, producing a command-line program (i.e. no tech stack other than a programming language with the standard library), a coder could reasonably produce +5000LoC per week.

Adding the necessary extensions to support booting isn't much either, because the 16-bit stuff can be done just the same as CC did it - shell out to GCC (thereby not needing many of the extensions).

Are you *really* sure that a simple C compiler will cost more than 4 weeks f/time to do? It takes 4 weeks or so in C, are you really sure it will take longer if I switch to (for example) Python?

f1shy|21 days ago

And having TCC, GCC, CLANG and any other project lying around as cheat sheet, as the trained model, in some way, had.

qarl|23 days ago

> the level of performance isn't stated in the linked article so a parser in Python is probably sufficient.

No, you'll have to match the performance of the actual code, regardless of what happens to be written in the article. It is a C compiler written in Rust.

Obviously. Your games reveal your malign intent.

EDIT: And good LORD. Who writes a C compiler in python. Do you know any other languages?!?

bee_rider|23 days ago

You seem to have doubled down on a bluff that was already called.

qarl|23 days ago

Naw. I got him to reveal himself, which was the whole point.

It's amazing what you can get people to do.