Imba

Languages and libraries

programming language

SHOW HN2021

Legend

Imba

I have spent 7 years creating a programming language for the web

news.ycombinator.com

#web programming language#compile to javascript#memoized dom#imba language

1,216points
345comments
#4of 2,533 in 2021
Top 1%of 2021 by points

How HN took it

MixedNo clear lean

42 positive, 55 neutral or asking, 10 mixed, 28 critical, out of 135 comments about the project. Thread score +0.18.

Design: 13 for, 12 againstPerformance: 6 for, 5 againstIdea: 6 for, 4 againstDocs: 5 for, 4 againstExecution: 0 for, 3 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Landing page and docs are clear and polished

    From 3 comments
    • I just want to compliment the OP on a very clear and comprehensive website at https://imba.io/. It clearly explains (by showing and telling) what Imba is, why I should care, how…
      micheljansen on HN
    • I have to say, I don't know if I'll use this language as I'm not a fan of Ruby syntax really, but the landing page presenting Imba is just phenomenally well done. 1. The live…
      davedx on HN
    • Really amazing landing page, normally I just scroll though in one second but now I'm really taking the time to try and understand the examples. Small note, the clock demos don't…
      0xcoffee on HN
  • Memoized DOM approach is a interesting performance idea

    From 2 comments
    • Really interesting project! I will definitely be trying it out today. One question—although you criticize some of the more common vdom benchmarks, I think it is still valuable to…
      jsf01 on HN
    • 1. Would it be correct to describe memoized DOM approach as combination of direct manipulation (like hand-written jquery, or what svelte compiles to) + a mechanism to avoid…
      peey on HN

Objections

  • No static typing built into the language

    From 2 comments
    • I disagree with a couple of the choices made here, mainly the (apparent) lack of static typing But with that said, the author has done an amazing job with the website and…
      brundolf on HN
    • is there any particular reason why there doesn’t seem to be built-in type-checking system? i know it still seems to be a “personal preference” whether to check one’s types, but i…
      valyagolev on HN
  • Performance claims lack benchmarks

    From 2 comments
    • > Amazing Performance With no benchmarks to back up that statement?
      soheil on HN
    • Really interesting project! I will definitely be trying it out today. One question—although you criticize some of the more common vdom benchmarks, I think it is still valuable to…
      jsf01 on HN
  • Looks like a clone of Svelte

    From 1 comment
    • This is just a clone of Svelte? It even has one of the same examples.. and similar syntax. Better productivity is nice, but putting an abstracting in the way could be worse…
      Tucanix on HN
  • Unclear whether it scales to large codebases

    From 2 comments
    • So, had gone through samples and my conclusion as a seasoned web dev with projects as big as having thousands of files with hundreds business scenarios, imba is not the setup for…
      arodyginc on HN
    • Usually I think trying to make your own language for anything more than a DSL is a bad idea. But this project looks very impressive. I've never heard of Imba before this post and…
      armchairhacker on HN

Requests

  • Support for using existing JavaScript libraries

    From 2 comments
    • The thing I'm looking for, and didn't see it immediately on the example page, is how easily you can use JavaScript libraries. I'm sure you can, but is it like Svelte, where you…
      xrd on HN
    • Is there an example of importing js functions to imba, or calling imba from inside js or ts? I could not find this. In Scala js, this interoperability is quite painful, so I…
      ita on HN
  • Native app framework support

    From 1 comment
    • Hey there! I think it is really cool language. You can basically get started in minutes. Does imba also have native app framework too?
      debarshri on HN
  • Benchmark entry in js-framework-benchmark

    From 1 comment
    • Really interesting project! I will definitely be trying it out today. One question—although you criticize some of the more common vdom benchmarks, I think it is still valuable to…
      jsf01 on HN

Questions

  • How does memoized DOM compare to Svelte's approach

    From 1 comment
    • Quick question - how does the memoized DOM compare with no-virtual-dom-at-all approach of something like Svelte?
      yewenjie on HN
  • Is there a roadmap

    From 1 comment
    • Imba looks great! Now that v2 is out, what would you say are your priorities regarding Imba? Is there a roadmap somewhere?
      juanramos on HN
  • How does async/await work compared to JS

    From 1 comment
    • This looks very cool, thanks for sharing! I took a cursory look at the docs and it looks like async/await is pretty much directly analogous to how it works in JS, with the…
      mstade on HN

Alternatives named

  • Svelte

    From 2 comments
    • This is just a clone of Svelte? It even has one of the same examples.. and similar syntax. Better productivity is nice, but putting an abstracting in the way could be worse…
      Tucanix on HN
    • Quick question - how does the memoized DOM compare with no-virtual-dom-at-all approach of something like Svelte?
      yewenjie on HN
  • React

    From 1 comment
    • I read this and still have no idea what the ‘memoized DOM’ is. There is a broken link to ‘how it really works’. Apparently there is a huge speed-up over react. I don’t actually…
      jl2718 on HN
  • Vue

    From 1 comment
    • I read this and still have no idea what the ‘memoized DOM’ is. There is a broken link to ‘how it really works’. Apparently there is a huge speed-up over react. I don’t actually…
      jl2718 on HN
  • Elm

    From 1 comment
    • Usually I think trying to make your own language for anything more than a DSL is a bad idea. But this project looks very impressive. I've never heard of Imba before this post and…
      armchairhacker on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/28207662)