
RippleJS takes a fresh approach to UI development with no re-renders and TypeScript built in. Here’s why it’s gaining attention.

As a developer, it’s easy to feel like you need to integrate AI into every feature and deploy agents for every task. But what if the smartest move isn’t to use AI, but to know when not to?

Coming from C# can quietly sabotage your TypeScript code. This article shows how to swap nullable flags and enums for discriminated unions and literal types so your Angular apps model state cleanly and stay easy to reason about.

Micro frontends boost autonomy but they make CSS a nightmare. In this guide, I break down how to scale styling without collisions using design tokens, CSS Modules, and the Shadow DOM.
Hey there, want to help make our blog better?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
4 Replies to "Intro to Clio lang: Ship performance-critical JS with ease"
Performance?! Why is it measured in ms? That’s slow
All `console.log` calls are redirected to the DOM, and they’re costly, that’s why the playground appears to be slow. You can check out my latest article here:
https://medium.com/geekculture/clio-extremely-fast-multi-threaded-code-on-the-browser-e78b4ad77220
or check the benchmark here:
https://github.com/clio-lang/benchmark
Clio is always faster than JavaScript, and sometimes extremely faster, if you check the benchmark the fib function’s performance is close to C. In addition to that, you can do multi-threading to speed up your code.
Thanks for the great article and for featuring us Hussain! I really enjoyed the article and I’m going to add a link to it in our documentation, if it’s alright by you! By the way, the installer issue you reported is fixed in the latest release, give it a try 😉
Reading your article, I noticed some of the code samples don’t compile, they throw a syntax error. First one is the comparisons where you used = instead of ==, this is changed in the recent versions. Other issues are in the mapping section, I will share a few links with the corrected code here.
Comparisons: https://tinyurl.com/ttw4x58j
Mapping: https://tinyurl.com/djfb9hta
Mapping (with anonymous functions): https://tinyurl.com/sfk7sy9h
Pipes: https://tinyurl.com/378we5vj
Thanks again for the great article!
Thank you so much for your feedback, Pouya! Yes, you can include this article in your documentation.
As for your question, I wrote this article when Clio was in version 0.35(back in April), however it got published just now.
Other than that, Clio really is a great programming language. Can’t wait to play with it in the future.