Remix.run Logo
pjmlp 6 days ago

The use cases is not writing unsafe C in first place, and proving the point Go is usable in such scenarios, regardless of naysayers.

The creators of USB Armory also created TamaGo, instead of using Rust, exactly for the same reasons, to prove a point.

https://github.com/usbarmory/tamago

https://reversec.com/usb-armory/

Because in IT, seeing is believing.

xyse53 5 days ago | parent | next [-]

It's also a good way to learn about UEFI for people most familiar with go.

qhwudbebd 6 days ago | parent | prev | next [-]

Quite apart from that, an EFI shell that's less awful than the standard UEFI one is an interesting project in its own right...

bradfitz 5 days ago | parent | prev | next [-]

I've been idly following this stuff on & off for years, but I never saw proving a point "instead of using Rust" as one of the motivations of the project. Was that ever stated anywhere?

pjmlp 5 days ago | parent [-]

Yes,

> Languages like Rust have already proven they role in bare metal world, Go on the other hand needs to … and it really can!

From https://fiif.fi/wp-content/uploads/sites/9/2021/06/TamaGo.pd...

guywithahat 3 hours ago | parent | prev | next [-]

That's a shame, I was hoping it would be so I could boot thousands of kernels in parallel at once

flanked-evergl 4 hours ago | parent | prev | next [-]

No amount of proven points will give Go null safety, though.

schmuckonwheels 5 hours ago | parent | prev [-]

If one can't write safe C code, then maybe stick to web development and leave the bootloaders and UEFI stuff to people who can.

Training wheels are merely a race to the bottom for barely-literate programmers.

monocasa 5 hours ago | parent | next [-]

The number of memory safety CVEs written in C by people who ostensibly 'didn't need training wheels' point strongly to the antithesis of your argument.

And I say that as someone who's been a kernel engineer for 20 years.

throwaway894345 2 hours ago | parent | prev [-]

There are only people who think they can write safe C code and those who know they can’t.