HackerTrans
TopNewTrendsCommentsPastAskShowJobs

grashalm

475 karmajoined 10 ปีที่แล้ว

Submissions

GraalJS 25.1: Modern JavaScript on GraalVM

medium.com
1 points·by grashalm·6 ชั่วโมงที่ผ่านมา·0 comments

Writing Memory Safe JIT Compilers

medium.com
12 points·by grashalm·2 ปีที่แล้ว·0 comments

Is Llama-3 better than GPT-4 for generating tests?

symflower.com
2 points·by grashalm·2 ปีที่แล้ว·0 comments

comments

grashalm
·15 วันที่ผ่านมา·discuss
It's two jits in total.
grashalm
·9 เดือนที่ผ่านมา·discuss
This is the internet at its best.
grashalm
·2 ปีที่แล้ว·discuss
That is a great strategy. It gets easier over time though. My tipp is to still join smoking friends, but just don't smoke. Makes you robust against the temptation longer term.
grashalm
·2 ปีที่แล้ว·discuss
Any language can be sandboxed on the VM level. It's a property of it's implementation. So you can say that Lua has no sandbox friendly implementation right now.

For example, termination you can solve by unwinding the stack in efficiently polled safepoints. You need to take down the entire sandbox-capable Lua VM instance but you can.
grashalm
·2 ปีที่แล้ว·discuss
Feel free to drop Dr. Futamura an email: https://fi.ftmr.info/

If he says yes to changing his name you have my full support.
grashalm
·2 ปีที่แล้ว·discuss
I work on Truffle for more than 10 years and I recently wrote a comment on hackernews using Futurama instead of Futamura. That comment had it wrong twice.
grashalm
·2 ปีที่แล้ว·discuss
Truffle has no opinion on how you parse the sources. It cares about how you execute them from an intermediate Truffle guided representation produced by the parser.

In other words antlr and truffle are a great fit. We even use this pairing for our example language simplelanguage.

https://github.com/graalvm/simplelanguage
grashalm
·2 ปีที่แล้ว·discuss
Very few people have heard of them. That is exactly the reason why I mention them as often as I can. They are a great entry into the world of meta compilers.
grashalm
·2 ปีที่แล้ว·discuss
He probably means one of the wonderfully crafted talks by Chris Seaton.

Here is one of the many: https://youtu.be/bf5pQVgux3c?si=S8Dm5d_GXYXgJtnY

If you go looking for more you will find many more marbles.
grashalm
·2 ปีที่แล้ว·discuss
The truffle compiler extensions in Graal will be part of Galahad. For example the partial evaluator. The truffle framework and all the languages are consumed from a maven repo as a regular java library these days.

Some background on the recent changes there: https://medium.com/graalvm/truffle-unchained-13887b77b62c
grashalm
·2 ปีที่แล้ว·discuss
Shameless self plug: Giving an introduction in this video: https://youtu.be/pksRrON5XfU?si=CmutoA5Fcwa287Yl
grashalm
·2 ปีที่แล้ว·discuss
Damn you autocomplete! This happens all the time :D
grashalm
·2 ปีที่แล้ว·discuss
Pkl was built using the GraalVM Truffle framework. So it supports runtime compilation using Futamura Projections. We have been working with Apple on this for a while, and I am quite happy that we can finally read the sources!

https://github.com/oracle/graal/tree/master/truffle

Disclaimer: graalvm dev here.

Edit: typo
grashalm
·2 ปีที่แล้ว·discuss
Thanks for the link. I didn't know Peertube, yet.

I can't see how you can avoid the centralization problem and also have decent monetization for the videos. But I want to certainly become convinced that it can work. Crypto made me a decentralization skeptic.
grashalm
·2 ปีที่แล้ว·discuss
Alternative to working with a big silicon valley giant. If you want to integrate/use YouTube you need to deal with whatever that company puts you up with. And as the article states, you don't want them to become grumpy at you; otherwise, they will turn you off even quicker. The only alternative I see is to develop a new YouTube, which seems unreasonable given how dominant Google is.
grashalm
·2 ปีที่แล้ว·discuss
I don't understand what reasonable alternative there could be. Develop your own YouTube?