Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbrat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
jbrat
10y ago
This would be related to Java and Maven conventions, so you can easily handle tests, separate Java from Javascript - not a PurpleJS thing really.
2.
▲
by
jbrat
10y ago
Apparently, the http framework in PurleJS is quite similar to express. Have a look at it!
3.
▲
by
jbrat
10y ago
Async is not parallell. With Node, only one of your bakers would actually be working at a time since Javascript does not support multithreading! Only way to achieve this would be dispatching to other node processes and start handling this y
4.
▲
by
jbrat
10y ago
How these tests are run will potentially create large differences. For instance, pure Nashorn will compile each script _every_ time before executing it. PurpleJS only compiles a script once and then caches it for re-use.
5.
▲
by
jbrat
10y ago
- Performance: I guess looking at Nashorn performance tests would be relevant. Additionally, PurpleJS apparently compiles a javascript file on first run an then caches it for next execution, until the file is changed or the app is restarted