News for hackers. Stuff that matters.
Re:MIPS Goes Open Source by pjmlp on Tuesday December 18, 2018 @02:07AM (#18705010)
Which is a pity, as currently the SPARC is the only commercial CPU able to tame C.

At least with luck those features are coming to ARM v8.3+ as well.

Re:MIPS Goes Open Source by masklinn on Tuesday December 18, 2018 @03:40AM (#18705275)
> Which is a pity, as currently the SPARC is the only commercial CPU able to tame C.

What do you mean? That it includes protection modes which make C "safe"?

Re:MIPS Goes Open Source by pjmlp on Tuesday December 18, 2018 @04:03AM (#18705340)
SPARC has memory tagging support since M7.

https://swisdev.oracle.com/_files/What-Is-ADI.html

https://swisdev.oracle.com/_files/M7_Preso.pdf

This is enabled by default in Solaris since version 11.

"Secure Software - Made Simple with Software in Silicon"

https://www.youtube.com/watch?v=krOhcjF5Fsw

https://lazytyped.blogspot.com/2016/12/hardware-buffer-overf...

ARM v8.5 memory tagging extensions aims to try to achieve parity with it.

https://www.youtube.com/watch?v=IbisEjzoxTY

Google is planning to make use of them on the native layer of Android when they eventually became available.

Meanwhile Intel has decided to remove MPX from x86/x64 because no one is adopting them on Intel/AMD CPUs.

EDIT: Got the ARM version wrong.

Re:MIPS Goes Open Source by pm215 on Tuesday December 18, 2018 @05:12AM (#18705573)
A minor nit, but memory tagging is in ARMv8.5, not 8.3.
Re:MIPS Goes Open Source by pjmlp on Tuesday December 18, 2018 @05:17AM (#18705586)
Thanks, fixed it.
Re:MIPS Goes Open Source by kazinator on Tuesday December 18, 2018 @03:45AM (#18705291)
SPARC has weird register windows that scare C programmers out of playing games with the stack, resulting in safer operation.
Re:MIPS Goes Open Source by pjmlp on Tuesday December 18, 2018 @04:05AM (#18705350)
SPARC ADI is a bit more than that.
Re:MIPS Goes Open Source by jplayer01 on Tuesday December 18, 2018 @04:07AM (#18705359)
5 minutes of googling hasn't given me anything about SPARC and C. Can you elaborate?
Re:MIPS Goes Open Source by pjmlp on Tuesday December 18, 2018 @04:11AM (#18705375)
Check my other reply.

https://news.ycombinator.com/item?id=18705340

You need to be a bit comfortable with Solaris and enterprise web sites to dig it out.