Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » js or python
- PkmnQ
- Scratcher
1000+ posts
js or python
Neither of them are concatenative
This is an account that exists.
Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary
- TheSecondGilbert
- Scratcher
100+ posts
js or python
fun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
Hi! This is an alt of my main account.
I'm “back” from a 10-month hiatus.
I forgot the ways of the forums, so I might be wrong.
My first post!
- ScratchCatHELLO
- Scratcher
1000+ posts
js or python
fun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
python bytecode is interpreted.
ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust
Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
- PkmnQ
- Scratcher
1000+ posts
js or python
Nobody calls Java interpreted (or at least I haven't heard anyone say that)fun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
python bytecode is interpreted.
This is an account that exists.
Here, have a useful link:
The Official List of Rejected Suggestions by Za-Chary
- ISTILLMAKESTUFF
- Scratcher
500+ posts
js or python
Java?Nobody calls Java interpreted (or at least I haven't heard anyone say that)fun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
python bytecode is interpreted.
Very first post- https://scratch.mit.edu/discuss/topic/565039/ And no, I am totally not embarassed about it. (Especially the blocks)
- bigspeedfpv
- Scratcher
500+ posts
js or python
if we're going based on that, so is JSfun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
- TheSecondGilbert
- Scratcher
100+ posts
js or python
I wonder where JavaScript is compiled to. WebAssembly? JIT?if we're going based on that, so is JSfun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
Last edited by TheSecondGilbert (Feb. 15, 2023 06:11:16)
Hi! This is an alt of my main account.
I'm “back” from a 10-month hiatus.
I forgot the ways of the forums, so I might be wrong.
My first post!
- bigspeedfpv
- Scratcher
500+ posts
js or python
not sure how it works with other engines, but V8 has two components - Ignition, which interprets JS (compiles to bytecode), and Turbofan, which generates optimized machine code in the background. that's why V8 based platforms like Chrome and Node have a warm-up periodI wonder where JavaScript is compiled to. WebAssembly? JIT?if we're going based on that, so is JSfun fact: Python is compiled (into a Python bytecode) Compiled Languages FTW
Neither JavaScript or Python
here's an article from when Turbofan launched: https://v8.dev/blog/launching-ignition-and-turbofan
- uwv
- Scratcher
1000+ posts
js or python
really similarly, for example JSC (JavaScriptCore) has 4 tiers of execution with each being faster than the last not sure how it works with other engines
- Interpreter - just javascript bytecode interpreter
- Baseline JIT - first level of JIT'd javascript bytecode, unoptimized
- DFG (Data Flow Graph) JIT - optimized machine code using data flow analysis
- FTL (Faster Than Light) JIT - highly optimized machine code based off of the B3 JIT compiler, previously based off LLVM
i use arch linux (btw) with the linux zen kernel and enjoy writing silly things in silly languages using silly frameworks
- ajskateboarder
- Scratcher
1000+ posts
js or python
Honestly, the languages should be seperated from each other along with their purposes. In a web-based context, JavaScript should be strictly for web/frontend development and Python should be used for backends. (and also that JavaScript can be used for web development (i know brython exists btw))
Trying to mix the two just makes your stack strange. Brython ports just enough functionality to write a Python equivalent of JavaScript for the browser. You can't actually use the neat package ecosystem (no Pandas :cry:) And JavaScript on the backend is sort of annoying since you need a bunch of packages that would be available with Python and also JS modules are terrible (CommonJS and ModuleJS compatibility pains)
I'd like to see you use a compiled language Compiled Languages FTW
Neither JavaScript or Python
Last edited by ajskateboarder (Feb. 15, 2023 13:39:07)
- completeness
- Scratcher
100+ posts
js or python
Holy smokes! Shots fired! I'd like to see you use a compiled language
- ajskateboarder
- Scratcher
1000+ posts
js or python
OK WE GET IT completeness, you make programs in C under your rock, congrats with the cool kid pointsHoly smokes! Shots fired! I'd like to see you use a compiled language
Last edited by ajskateboarder (Feb. 15, 2023 21:21:42)
- SAVVYSCLUTTER
- Scratcher
500+ posts
js or python
Python is better for running locally; JS is better for building advanced webpages.
I deleted my account on 9 June 2023. My best projects are still on Scratch. Visit my website for my latest work.
- Zachary13265
- Scratcher
49 posts
js or python
Javascript is better than python on infinity counts
You don't prep me!
- WojtekGame
- Scratcher
1000+ posts
js or python
JavaScript is good on modding scratch-gui and other LLK repos, Python on the other hand can be used for data, cloud variables and other stuff!
forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
- BreadcatGames
- Scratcher
1000+ posts
js or python
I think they mean for general use. JavaScript is good on modding scratch-gui and other LLK repos, Python on the other hand can be used for data, cloud variables and other stuff!
- AmazingMech2418
- Scratcher
1000+ posts
js or python
Both languages can be used for pretty much anything, just JavaScript and Python have different library sets that make certain things easier. Ultimately, general use is probably the best way to look at these languages specifically! Looking to general use is unideal, you should use the language best for what you want to do
I'm a programmer, ethical hacker, and space nerd!
Last edited by Neil Armstrong (July 20, 1969 20:17:00)
sam
- ajskateboarder
- Scratcher
1000+ posts
js or python
Well there's a reason it's called general use… because many tasks can completed under those languages. Any language with a large and competent ecosystem can fall under the general-purpose paradigm. Most languages for general use can solve problems developers face. Looking to general use is unideal, you should use the language best for what you want to do
Of course, if you have an edge-case like blazingly fast speeds or memory safety, you should look to languages which are tailored for such tasks, like Rust or Zig or something