Remix.run Logo
dmitrygr 7 months ago

> If you add new code to a sw project in c or c++ that should be a solid case for negligence when your customers sue for losses.

Sure, as long as you are ok being similarly sued next time you install or use windows, macos, or linux on some box you administer. Those are all written in C. I guess you're OS-less until you write one in something safe. Ditto for web browsers and bootloaders.

galangalalgol 7 months ago | parent | next [-]

Wasn't the first cut at windows me written in c#, maybe we can start there. The servo browser on redox isn't even completely free of c I think.

throw16180339 7 months ago | parent | next [-]

I think you're thinking of Windows Longhorn (https://en.wikipedia.org/wiki/Development_of_Windows_Vista#M...). They used managed code and ended up partially scrapping it to restart development on top of Windows Server 2003.

smitelli 7 months ago | parent | prev | next [-]

Windows ME was just Win98SE in an ugly sweater. Mostly C/C++ with some assembly peppered in.

xahrepap 7 months ago | parent | prev | next [-]

Maybe you’re thinking of this?

https://en.m.wikipedia.org/wiki/Singularity_(operating_syste...

gpm 7 months ago | parent | prev | next [-]

Servo relies on firefox's JS runtime spidermonkey, written in C++.

ekr____ 7 months ago | parent [-]

Moreover, a significant fraction of JS vulnerabilities are logic errors in the JIT, so even if the JIT itself is memory safe, that doesn't make the resulting code free of vulnerabilities.

qskousen 7 months ago | parent | prev [-]

Windows ME was the worst Windows though.

edm0nd 7 months ago | parent | next [-]

Hard agree.

Windows 98SE SP2 was the best

do_not_redeem 7 months ago | parent | prev [-]

Vista was the worst in my book. And Vista was actually the real turning point when C# started to infect Windows.

lmm 7 months ago | parent | prev | next [-]

> next time you install or use windows, macos, or linux on some box you administer.

I don't administer other people's boxes, I provide them with programs written in safe languages (as a bootable unikernel if they want). If they choose to run them on a buggy OS that's on them.

immibis 7 months ago | parent [-]

Are there unsafe blocks in the bootable unikernel?

And does it actually work?

lmm 7 months ago | parent [-]

> Are there unsafe blocks in the bootable unikernel?

Probably. If that bothers you you can also run it on Lambda or something and let amazon worry about booting.

njtransit 7 months ago | parent | prev [-]

It’s not negligent it use an unsafe OS if no safer options exist. It is negligent to use an unsafe language when safe alternatives exist.

gigel82 7 months ago | parent [-]

Visual programming like Scratch is safer than Rust so it's negligent if we don't all use Scratch next.

Also, everyone should pee sitting down by law because some are known to pee to on their pants otherwise.

/s