#Are there any plans for moving away from QuickJS anytime soon?

1 messages Β· Page 1 of 1 (latest)

severe saffron
midnight rampart
#

also, where did globalThis.__date_clock() came from?

gilded kiln
#

from QuickJS as other additional methods on string and object

rotund heron
#

We currently don't have any plans to move away from QuickJS any time soon.

keen stone
#

are there any particular painpoints or issues with QuickJS you're seeing?

balmy sluice
#

No JIT optimization mostly

hot sun
#

^^

#

also no worker threads and such

severe saffron
hot sun
#

yeah

wise fulcrum
hot sun
#

hmm

peak walrus
#

are you talking about ios?

tidal parcel
#

I bet consoles too

primal shoal
midnight rampart
#

why console log gui in-game only shows what's passed in console.warn?

peak walrus
#

even without jit v8 is faster than quickjs

bright raft
# hot sun also no worker threads and such

I'm very curious to hear about the use case scenarios here actually! Stuff like this are things we can think about depending on the needs and gaps and functionality based on what y'all want to do.

hot sun
hot sun
gilded kiln
#

it logs into the log file

bright raft
hot sun
primal shoal
gilded kiln
hot sun
peak walrus
bright raft
#

In those worker threads, is your expectation is that you'd be able to write the same type of code, and just move it to another thread?

peak walrus
#

i'm hoping the js scripting is going to get on the same level as java modding in customizability and performance but currently it's just slow. as it sais it's a scripting api not a hole modding framework like forge or fabric

hot sun
#

^^

torpid shell
carmine minnow
bright raft
#

We do aim to make scripting cover as many scenarios as possible, and yes getting the right performance baseline is an important part of that and something we hope to continue improving. There are two halves two this: ensuring the API paradigms we create are performant for the common use case and improvements to the fundamental QJS integration (and bedrock engine itself).

We are a sharp contrast to Java modding frameworks though, especially things like fabric, because at the end of the day we are a versioned contract on top of the engine and not a way to modify the engine directly. But we hope it is easy to use and powerful as well!

tidal parcel
#

Give us the ability to mod the client and I'll consider it as powerful πŸ‘

severe saffron
#

lol

wispy lichen
#

(IObit Unlocker time)

hot sun
#

lol

peak walrus
#

full ui support and custom entity, and block ticking functions with custom entity and block storage

#

and the ability to define blocks, entities and other using the scripting engine

#

thats powerful

torpid shell
tidal parcel
#

eh that last part isn't as necessary I think

rotund heron
tidal parcel
rare hornet
tidal parcel
#

Imagine I could reverse a player's movement, or make them fall faster

#

There's also being able to summon local particles

#

And maybe, just maybe custom textures and geometry on the fly

peak walrus
tidal parcel
#

Or even interface with renderdragon

torpid shell
#

thats when bedrock becomes a game engine

fervent prawn
#

Train carts need to allow players to go light speed.

#

Change my mind

peak walrus
torpid shell
tidal parcel
#

Think about other devices

torpid shell
#

all devices

tidal parcel
#

General custom input polling

fervent prawn
#

If not inputs at least on screen custom buttons for mobile players that are doable

severe saffron
rare hornet
#

The api that get the devices player using

tidal parcel
prisma gate
#

keyboard inputs would be nice to allow us to have more binds for triggering events and/or running scripts

tidal parcel
#

Many possibilities on the client side

fervent prawn
#

Tab key list of players like Java would be cool

safe monolith
rare hornet
#
system.getKeyboard()
system.getPlatform()
fervent prawn
tidal parcel
torpid shell
prisma gate
#

Tab list would be nice

peak walrus
tidal parcel
#

Like registering custom input and allowing the player to bind it to their controls

safe monolith
#

not really related to the question but showing players ping in the pause screen player list would be nice

tidal parcel
#

From settings

reef acorn
rare hornet
tidal parcel
#

Imagine being able to render anything you want via a Renderdragon API

rare hornet
#

Or just make a Input class

#

including keyboard and other input devices

#

or maybe extends

rotund heron
#

Mind moving client side scripting chat off to a different question πŸ˜…

safe monolith
#

we cant even make new questions...

tidal parcel
reef acorn
#

There are two such questions already.

safe monolith
#

nvm it seems someone asked already

prisma gate
#

We need a thread to just talk about client scripting πŸ™‚

torpid shell
tidal parcel
#

Moving out!

rare hornet
#

rush B

primal shoal