Learning how this works under the hood

Recommended resources to learn how this stuff works that can be understood by a dummy without a background in computer science? For a guy like me, becoming proficient at coding amounted to more or less like learning what goes with what and remembering how to get things to happen. I'm very limited by my lack of understanding how any of this (runtimes, bundlers, compilers, etc etc) works under the hood. I want to level up.
D
Doctor πŸ€–β€’532d ago
You should probably first learn the language. Deno put simply is just a runtime for JavaScript with bundling and compiling to a binary built in where with nodejs you’d need to get the several tools separately and set them up to work together.
D
Doctor πŸ€–β€’532d ago
A lot of tutorials for JavaScript are outdated and will teach you old practices but this website from the bits I’ve seen is good.
K
kidnextdoorβ€’532d ago
Appreciate it
J
jeff.hykinβ€’530d ago
don't worry about having a background in CS. If you understand arrays and objects you're good. Deno/Node/Bun run Javascript in order to give it access to file tools and operating system tools. Browsers give web interface tools to javascript instead. Like @ Doctor said learning Javascript is learning Deno. Deno only adds one variable (the Deno variable). Everything else is pure Javascript. Node is a little less clean, it adds several magic variables, but I won't get into that. if you want to know how javascript engines work (or how it's supposed to work), skip to 30:12 in this video. https://youtu.be/Bv_5Zv5c-Ts It gives a great understanding of how the system itself is designed and will probably clear up a lot of confusion. After that video, I highly recommend starting to understand asynchronous Javascript beginning with this video (skip the first 2 min) https://youtu.be/670f71LTWpM async takes a long time to fully understand, but once you master it, you've probably mastered 70% of all javascript features. If you ever find yourself reading about Proxy objects (probably the most advanced Javascript feature) you can be confident you're in the top 1% of JS devs. If you already know all this stuff, then my guess is the only things under the hood are in the Deno source code. Which can be beneficial, although it requires learning Rust first
Tony Alicea
YouTube
JavaScript: Understanding the Weird Parts - The First 3.5 Hours
Get the full course here: https://www.udemy.com/course/understand-javascript/?referralCode=7E5C6727F7959934C311 This is an advanced Javascript course for everyone, giving a deep understanding of the language by understanding how it works under the hood. In the full course, you will enhance your abilities as a Javascript developer by delving in...
James Q Quick
YouTube
Asynchronous JavaScript in ~10 Minutes - Callbacks, Promises, and A...
The asynchronous nature of JavaScript to understanding the language. You'll find the use of callbacks, promises, and async/await in code that you write every day as a JavaScript developer. In this JavaScript tutorial, you'll learn about all three in about 10 minutes. 00:00 - Intro 01:15 - Callbacks 03:20 - Error First Callback 05:00 - Promises...
K
kidnextdoorβ€’530d ago
Thank you so much, I will study all the links you have given me
More Posts
Closing a websocket server in a unit testHello, I'm an author of [rpc lib](https://github.com/deno-libs/rpc) and I'm currently writing unit tError The deployment failed Module not found> Error The deployment failed: Module not found "npm:@coingecko/cryptoformat". Link to module: httpHow to cancel or abort .pipeTo()?I prefer not asking, but after I found (what I consider) an MDN easter egg, I realized this is probais it possible to change how tsx bundles to js?So I’m wondering if it’s possible to get Deno to convert ```jsx <div class="test">Potato</div> ``` tcan't load external modules when run as child process with Deno.spawnChildHi! This is really weird, but I'm trying to run deno scripts under another deno process with Deno.spFile line operationsHello, How to perform the following file manipulations in Deno ? - Read the nth line - Remove the FFI how to pass (or get) 128-bit bigints to (or from) Rust functions?I want to pass bigints from Deno and get i128 or u128 in Rust. Do I have to use typed arrays for thaUnable to view logs to debug edge function for Deno Fresh + Deno DeployThanks for making Deno, and Deploy, and Fresh. I'm a huge fan. I'm building a feature to allow userTypeScript enumsSo enums are objects with all keys being values and values being keys. Most of the time when using eHow to get complete Deno RAM usage?Do we use `Deno.memoryUsage().rss` or should it be `rss+heapUsed+external`?Deno NPM VSCode IntellisenseIs there a work around for this at the moment? I want to try out Deno's NPM support but I lose IntelNeed help making fresh, rutt and preact base path awareI'm currently trying to make fresh base path aware. I already patched rutt to work with base paths. How do I render react?I'm using the configuration as shown in the Deno manual with preact, but how would I server-side renResolving 'dynamically imported module evaluation pending, but no pending ops'I've been getting this error quite a lot, but I haven't found a single way to know *which* unresolve