Multi-threaded SolidStart with Web-Workers

  Рет қаралды 751

Atila

Atila

Күн бұрын

Пікірлер: 12
@riongull
@riongull 7 күн бұрын
Excellent demo. Thanks Atila.
@AtilaDotIO
@AtilaDotIO 4 күн бұрын
Thanks a lot, Rion
@pindapixel
@pindapixel 4 күн бұрын
Workers look cool and the vite plugin abstracting away the messaging makes them even cooler, but I've yet to run into a scenario where I would actually need them in a web application
@AtilaDotIO
@AtilaDotIO 4 күн бұрын
You don't need to do it only for very heavy computations, you can use them when adding a 3rd party script, because they don't have access to the DOM APIs, it's safer. Also, it prevents the script from sabotaging your main thread if it ever has issues.
@haonus
@haonus 7 күн бұрын
Thanks! Web Workers are really cool. I used to be a Python developer before learning SolidJS, and I’ve noticed some differences between coroutines in Python and JavaScript. This video has been incredibly helpful. By the way, I’ve never deployed SolidStart in Deno before. Does its performance truly live up to the official claims?
@AtilaDotIO
@AtilaDotIO 5 күн бұрын
I'm using Deno Deploy, the cloud service. I haven't worked this much with the Deno runtime to notice a significant difference in performance. I'm not exactly familiar with Python, can you tell me more about the differences you noticed?
@haonus
@haonus 5 күн бұрын
​@@AtilaDotIO Python’s coroutine scheduling is limited to explicitly registered coroutines, while JavaScript flexibly schedules both ordinary functions and asynchronous tasks. What's more, Python emphasizes optimizing thread scheduling through explicit coroutine registration, while JavaScript relies on the flexible use of await and task design for efficient thread use.
@chris_kouts
@chris_kouts 7 күн бұрын
Can you please make a crazy video titled “solid js + web workers + wasm = 2099”
@AtilaDotIO
@AtilaDotIO 5 күн бұрын
That's a very interesting concept!! 👀 Let me see if I get something working
@haonus
@haonus 5 күн бұрын
could you show that how to deploy in deno? thanks
@AtilaDotIO
@AtilaDotIO 5 күн бұрын
Absolutely! I'll record one soon enough (I want to deploy the app in my WebSockets video and Deno Deploy is perfect since they support web sockets!). if you don't want to wait, you can use the Nuxt preset - since SolidStart and Nuxt have the same backend runtime, they work exactly the same, no additional action needed.
@haonus
@haonus 3 күн бұрын
​@@AtilaDotIO Great! I have successfully deployed the WebSocket feature mentioned in your video before, using the Nuxt preset in Deno Deploy. It works; however, there is an error when a user visits the solid-chat web app. I plan to look into it further next weekend. I am looking forward to your new video. Thanks!
Implementing Auth from scratch - no dependencies!
19:55
Atila
Рет қаралды 1,9 М.
Was I Wrong About Blazor? | Coding Shorts 111
16:35
Shawn Wildermuth
Рет қаралды 21 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,7 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
SolidStart calls for you!
13:56
Atila
Рет қаралды 2,5 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 651 М.
Ollama on Kubernetes: ChatGPT for free!
18:29
Mathis Van Eetvelde
Рет қаралды 8 М.
Flutter just got Flocked! What does it mean for Flutter's future?
11:26
Maximilian Schwarzmüller
Рет қаралды 68 М.
Sqlite Is Getting So Good
28:52
ThePrimeTime
Рет қаралды 207 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 106 М.
The Cursor Experience, With Neovim's Magic
10:19
DevOps Toolbox
Рет қаралды 23 М.
Web Workers in Action - Performance Boost for Web Applications (2023)
22:51
JavaScript Web Workers Explained
12:52
DevSage
Рет қаралды 100 М.
Realtime data with WebSockets on SolidStart
15:43
Atila
Рет қаралды 624
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН