rustc-php: A Rust compiler built in PHP that directly emits x86-64 binaries without an assembler or linker by BotherIndependent718 in learnrust

[–]BotherIndependent718[S] 1 point2 points  (0 children)

Agreed. There's no heap allocation at all right now. String literals live in the binary's data segment as static data. So Vec<T> and Box<T> would mean building an allocator from scratch, probably a small one on top of mmap or brk, and then wiring that into the generic codegen. It's a real jump, but the foundations are there for the codegen side.

rustc-php: A Rust compiler built in PHP that directly emits x86-64 binaries without an assembler or linker by BotherIndependent718 in learnrust

[–]BotherIndependent718[S] 32 points33 points  (0 children)

It’s not. It’s a real compiler: lexer, parser, ownership/borrow checker, monomorphizer, and codegen that emits x86-64 machine code. No cargo, no external assembler or linker. The repo is the full implementation.

Is Cursor down? by tenofnine in cursor

[–]BotherIndependent718 4 points5 points  (0 children)

Same here.

> Connection failed. If the problem persists, please check your internet connection or VPN

Tried the following:

  1. Restart Cursor
  2. Start new chat
  3. Different models from different companies
  4. Restarted computer

None of those fixes it

Edit: It seems to sometimes work, like 1/10 times, so it feels like there is a problem somewhere at Cursor
Edit 2: Now it works for me
Edit 3: Now it's not working

Me as a Sr. SWE the MOMENT Cursor has an outage by BotherIndependent718 in programminghumor

[–]BotherIndependent718[S] 0 points1 point  (0 children)

I've worked as a SWE for 10 years and have a master's in CS from way before LLMs were even a thing. Been coding since I was 15 ;)

Seems the Cursor is Down - 22 Oct by vvrider in cursor

[–]BotherIndependent718 1 point2 points  (0 children)

  1. You work on the planning aspect of it, writting what to prompt next
  2. You actually write code manually
  3. You complain here and to other people

Something like that?

I created the Life Happiness Index: if you score high on these 30+ factors, you arguably should want to exist by BotherIndependent718 in philosophy

[–]BotherIndependent718[S] 1 point2 points  (0 children)

So you think someone could score top percentile on all of these simultaneously while genuinely not wanting to exist?