@msimoni Nope, the only members of a generic type (type parameter) are the equals/not equals and the cast and query operators, i.e. these:
T.==
T.!=
T.!<U>
T.?<U>
@J_Svenningsson@laurencetratt Loop versioning and bounds check elimination have always been a thing, but these are advanced compiler techniques that weren't fully evaluated in the debate over bounds-checking because of naivety on detractors' parts.
There's always more compilermancy to be done.
@laurencetratt 'member back in the 19?0s when every conversation about safety followed exactly the same lines? People were hand-wringing about the cost of safety checks back then too.
Guess what, computers are 100X if not 1000X faster today! If we spent 2% on safety, we'd only be 980X faster.
@jfbastien Make it nine. I believe after all these years that we've been cheated out of our god-given right to a parity bit. Pretty please and thank you.
The proceedings of JENSFEST are now in the ACM Digital Library! It's a great collection of paper dedicated to Jens Palsberg on the occasion of his 60th birthday. If you're at SPLASH next week, come see them be presented!
https://t.co/7ynhdfrdkK
Excited for JENSFEST next week, where I'll present work on unboxing ADTs (one of the key optimizations for systems programming in safe languages) in Virgil done by my excellent bachelor's student Bradley Wie Jie Teo.
https://t.co/PsUvjcJDaz
Excited for JENSFEST next week, where I'll present work on unboxing ADTs (one of the key optimizations for systems programming in safe languages) in Virgil done by my excellent bachelor's student Bradley Wie Jie Teo.
https://t.co/PsUvjcJDaz
@AndrewCMyers@ShriramKMurthi Not that optimizers for safe languages give two craps about all that "correctness" and "observability" nonsense the PL nerds prattle on about. Let those integers overflow into UB! By Cronus we'll do unsound optimizations and blame you when they're wrong!
@AndrewCMyers@ShriramKMurthi Unsafe languages are usually low-level, which means they could expose more intermediate steps of a computation. A safe language with deterministic semantics gives a larger scope for optimization because a compiler can assume/prove fewer observations of intermediate states.
@AndrewCMyers Unsafe languages are already stupid fast. How do we make smart fast?
Respect for Rust, but it's not the final answer. If I thought it was the final answer, I'd at the very least be adding ownership to Virgil. I'm not. Ownership is a red herring; it's all about dat-dat data.
Yesterday we announced two new developments at the WebAssembly Research Center at CMU, welcoming Bosch as a new affiliate sponsor and celebrating Shopify's deepening their investment as a Gold sponsor. I'm excited for the future of our collaborations!
https://t.co/uAngA6yLZC
@rg9119 What is the domain of x? It seems like if it's the real numbers the equation only has x = 1 as a solution, for n > 0. Or maybe I am missing something.
@moyix Nah, spectre is because CPUs hallucinate the answer to branches. They could execute straight-line code out-of-order and it'd be fine--I think. (variant 4 enters the chat). Oh nevermind.