#JS Code Runner

1 messages · Page 1 of 1 (latest)

fallen meadow
abstract rivet
#

good

fallen meadow
#

How does the GPT work?

#

Well, I first uploaded a Deno binary into the knowledge base.

#

Then, in the instructions, I tell it to install Deno first whenever anything related to JS is done.

#

Surprisingly, ADA can install some packages and binaries directly through the files.

#

Then, the GPT can run JavaScript code directly in ADA

#

This technique requires no action usage, and can even be done with regular ChatGPT!

#

Hopefully this will inspire others to create more GPTs using this technique, so that we can showcase the full power of ADA.

fallen meadow
barren nimbus
fallen meadow
#

But, ChatGPT is allowed to install binaries and packages as long as they don't need sudo

#

Or dpkg for that matter

#

So, I have ChatGPT install Deno.

barren nimbus
fallen meadow
#

Which lets ADA run JS code natively

fallen meadow
#

Lemme try it

barren nimbus
fallen meadow
#

It's not uploading fast enough 💀

#

Should I try stable instead of beta

#

Nvm

barren nimbus
#

Isn't Deno larger than Rust?

fallen meadow
#

@barren nimbus

#

Another problem

barren nimbus
#

:y

fallen meadow
#

It can't run install scripts

#

😭

#

So no rust

barren nimbus
barren nimbus
#

My best guesses:
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl

fallen meadow
#

The Deno binary I used is also gnu and it works