Hacker Newsnew | past | comments | ask | show | jobs | submit | kdma's commentslogin

Just for curioristy why did you adopot a react-like model and not implement react-dom as projects like react native do?


React Native runs in JavaScript. This is in Go.


React native runs in the native ecosystem through a js-native-bridge and calls platform specifics system calls. https://reactnative.dev/architecture/xplat-implementation react is the <Components /> stuff in js react-dom is the juice


Good find, when I read it I called bullshit but I got lost trying to understand the diagrams. Another gotcha is the semantic decoder, they are just looping the model on itself "A cozy teddy bear" + fMRI random input => A teddy bear!!!


In the context of a LLM what is jailbreak and what is jail? Is it code, training data, words blacklist?


https://googleprojectzero.blogspot.com/2019/04/virtually-unl... one of the many public browser RCE. Or look for the ps5 jailbreaks, the browser is the common denominator for most systems and its leaky as hell given that JS is dynamically typed and everything gets JIT-ed to hell (https://webkit.org/blog/3362/introducing-the-webkit-ftl-jit/) most exploits I've seen are about tricking webkit into type mismatching + JIT "invalidation". WASM open this hole even wider


How would the statically typed WASM open an even wider hole? Assuming you mean that the size of wasm's hole is larger than js, not that their combined holes are larger than either one.


Wasm has more control over time and memory access than JS does. From a capabilities model, it is more secure, but from a threat model due to side channels, Wasm is a more effective tool than JS.

This thread discusses SAB (shared array buffer) and Wasm side channels https://github.com/tc39/security/issues/3


But to compensate those tricky features are sandboxed much more rigorously than JS is, e.g. https://developer.chrome.com/blog/enabling-shared-array-buff... - no SAB without site isolation.


.NET + visual studio + r# is the godlike stack. Haven't tried blazor yet but even asp.net is years ahead of the node ecosystem.


I am also an avid self learner but a good teacher / course it's inestimable. Just watch a course like linear algebra from MIT with Gilbert strand and compare it to studying it alone. The difference is enormous .


Interesting but i am a non believer can you provide figures that show gains through years?


Added in an edit update - I have more, but just tossed some together for you from 2016 - 2018.


looks like you are ready for templeOS


Huh. Just went and read a review.

Not for everyday use, of course. Network connectivity (and application support) are nonstarters. But that shell interface does look <ahem> inspired.


Nice video but (unrelated to the IDE) in order to use a printf from js it was necessary to: provide a js emulated syscall to c file that calls another c function that calls back to js again


Yeah, it’s super weird when most people are expecting this to compile into JavaScript running in a browser. Nevertheless, to be fair, this isn’t a C, C++, or Rust to JavaScript compiler-compiler it’s a C, C++, or Rust compiler that targets WebAssembly. I realize this might read as overly pedantic but it explains why it makes sense to the implement the C interface. It’s also a reasonable optimization pass for a mature compiler when it knows that you’re targeting WebAssembly running in a browser.


Volume rendering?


We did lots of ways, then.

In the interim, I worked with true volume rendering of CT, MR, PET data for a decade.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: