Comments (3)
Not that I didn't look at Graal before switching. I spent a lot of time with both engines. Graal had more problems with KubeJS specifically than Rhino. If I was gonna break all scripts and design a new syntax, then sure, Graal would be the better option, but Rhino adds many good ES6 features (arrow functions, working array functions, regex, for..in, for..of etc) and only breaks couple scripts while being 10x smaller. You have to think about pack updates too. And Rhino being way smaller its also easier to work with in my own fork. I added template strings recently for example. So that's my official reason for using Rhino over Graal
from kubejs.
The latest Rhino plugin is using Rhino 1.7.13, which is pretty much the bleeding edge on that project, but even the latest Rhino is pretty poor on ES2015 support.
FWIW, GraalVM's doing great with full ES2020 support.
from kubejs.
Thanks for the fix !
from kubejs.
Related Issues (20)
- Hoppers Can't Interact With Custom Block Entity Inventory
- ServerEvents.recipes breaks Grindstone interaction with Spelunkery HOT 4
- Conditional Recipes from any mod completely break if you add or remove any recipes in Neoforge 1.20.4+ HOT 3
- [1.19.2 forge] Campfire cooking recipe not using the correct nbt data HOT 3
- "1d" gets converted to 24 days instead of 1 day
- Modify item groups (creative inventory) HOT 3
- Method not found error when setting stages via PlayerEvents.loggedIn() HOT 2
- InputItem serializes to only the item, ignores count despite supporting count HOT 4
- Removal of ores doesnt fully work
- Recipe Components still suppressing errors
- afterRecipes cannot be triggered HOT 2
- remove/add/change recipes in non ServerEvents.recipes and an recipes.disable/enable functio
- Default Campfire Cooking time is wrong HOT 1
- Destroy mod recipe works in json file but not in recipe events
- player's DeltaMovement has changed but will not work. HOT 3
- Code from Wiki Page is Crashing
- Error with Crossroads reagent recipes if something is done with ServerEvents.recipes' event
- [1.21] NeoForge Crash on Server Startup HOT 2
- [Bug] Datapacks don't seem to load in. HOT 7
- Fabric Client Crash when Creating World(loading server_scripts) HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubejs.