| ▲ | zarzavat 4 days ago |
| LuaJIT was developed by one person. Ladybird doesn't need hundreds of millions of dollars, it needs interpreter specialists who are willing to lend their time to the project, and an army of volunteers to work on the rest of the rendering engine. |
|
| ▲ | aeturnum 4 days ago | parent | next [-] |
| LuaJIT has ~85k lines of code. Chromium and Firefox have somewhere in the neighborhood of ~30 million. If you need ~1 developer for "a LuaJIT" then you need ~350 developers for a browser. |
| |
| ▲ | l___l 4 days ago | parent [-] | | The assumption that a browser needs ~30 million lines of code may be false. It may be possible for a scripting language with at least the same features as LuaJIT to be as fast as LuaJIT in less than 85K lines of code. |
|
|
| ▲ | nurbel 4 days ago | parent | prev | next [-] |
| why do you think the js interpreter is that special compared to all the rest?
AFAIU, CSS is a much more complex beast, as the spec has not been written to reflect the way it could be implemented |
| |
| ▲ | zarzavat 4 days ago | parent [-] | | Writing JS JITs is a specialized skill that requires a deep knowledge of compilers, JavaScript, and CPU architectures. CSS is complicated but it's not as complex. It's just a matter of throwing enough sufficiently competent developers at the problem. Ladybird doesn't even have a JIT right now. They used to, but it got taken out because as best as I can tell, nobody on the project knows how to write one. |
|
|
| ▲ | troupo 4 days ago | parent | prev [-] |
| So you want people to work for free on one of the most complex pieces of software in existence? Why wouldn't you want to give those people hundreds of millions of dollars? And if you think that writing a JS interpreter is the only hard part of a browser engine, have I got news for you. |
| |
| ▲ | zarzavat 4 days ago | parent [-] | | My point was not that people/companies shouldn't donate money to the Ladybird project, but that an equally effective way of contributing is to contribute time, especially the time of developers with specialized skills that would otherwise be worth hundreds of thousands of dollars at market rates. Why should anyone work for free? Because they love the Web and hate Google's stranglehold over it. | | |
| ▲ | troupo 4 days ago | parent [-] | | > Why should anyone work for free? Because they love the Web and hate Google's stranglehold over it. Why would they work for free even given this? It's not something you hack on in an evening or two |
|
|