News for hackers. Stuff that matters.
Re:Porffor: A from-scratch ahead-of-time JS engine by pandemic_region on Wednesday July 31, 2024 @03:02AM (#41116966)
Not familiar with this stuff at all, is Porffor a js engine that Ladybird could end up using? Or are they still writing their own?
Re:Porffor: A from-scratch ahead-of-time JS engine by Sammi on Wednesday July 31, 2024 @03:50AM (#41117167)
Or just two separate moonshots for now.
Re:Porffor: A from-scratch ahead-of-time JS engine by meiraleal on Wednesday July 31, 2024 @09:10AM (#41118888)
If that happens I would thank defunkt so much. Great way to spend money.
Re:Porffor: A from-scratch ahead-of-time JS engine by simlevesque on Wednesday July 31, 2024 @10:06AM (#41119289)
You'd have to wait before using any website using js. The AOT introduces a delay. Not sure it's achievable.
Re:Porffor: A from-scratch ahead-of-time JS engine by giancarlostoro on Wednesday July 31, 2024 @10:14AM (#41119353)
Porffor compiles the JS to WASM, so it would be kind of a waste. Though there might be no reason the two projects cannot share some logic, like parsing the JS and such. I kind of doubt this is why its being funded. It sounds like a useful project.
Re:Porffor: A from-scratch ahead-of-time JS engine by fyrn_ on Wednesday July 31, 2024 @08:22PM (#41124977)
It can also compile to Native
Re:Porffor: A from-scratch ahead-of-time JS engine by stabbles on Wednesday July 31, 2024 @05:36PM (#41123710)
Since js is dynamic you can't compile all ahead of time, so you need an interpreter
Re:Porffor: A from-scratch ahead-of-time JS engine by hyperbolablabla on Wednesday July 31, 2024 @06:02PM (#41123955)
I thought ladybird used WebKit?
Re:Porffor: A from-scratch ahead-of-time JS engine by apgwoz on Wednesday July 31, 2024 @08:30PM (#41125017)
No. Completely green field. Well, it _was_. I believe they’ve recently accepted that third party libraries will be allowed in the non-Serenity OS version.