Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sindreaa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Extraordinary claims require extraordinary proof
(drcraigwright.net)
54 points
by
sindreaa
10y ago
|
59 comments
2.
▲
by
sindreaa
11y ago
As you can see from inspecting the examples, any non-standard tag will use standard tags in the dom, with a class denoting their imba type.
3.
▲
by
sindreaa
11y ago
React and Imba can both optimize using shouldComponenUpdate (in Imba you would add the same logic inside node#commit). Utilising shouldComponentUpdate (in React and Imba) requires additional logic by the developer, not the framework. This i
4.
▲
by
sindreaa
11y ago
Imba is still lacking when it comes to devtools, but it does have full support for source mapping, and the sublime text plugin includes inline error messages from the compiler.
5.
▲
by
sindreaa
11y ago
Yes, more like LiveScript / CoffeeScript. I don't think apps written in Imba really need anything like Redux/Flux, nor any other framework for that matter, since the way you define tags etc structures your code pretty well. W
6.
▲
by
sindreaa
11y ago
It compiles to standard js, and it's entirely unproblematic to interoperate with any/all js libraries. I myself use Imba whenever I need to write something for web/node, even if it is only a small library to be used in a larg
7.
▲
by
sindreaa
11y ago
The benchmark where mithril was much faster is very flawed, see comments from creators of vue: http://vuejs.org/perf/ . Mithril was faster because it rendered asynchronously once every frame, while React rendered on eve
8.
▲
by
sindreaa
11y ago
This is the new website for Imba. I'd love to get advice and constructive feedback regarding both the site itself, and the learning material.
9.
▲
Imba - create complex web apps with ease!
(imba.io)
26 points
by
sindreaa
11y ago
|
8 comments
10.
▲
by
sindreaa
11y ago
> Also, I'm not sure I agree with claim of readable output js: http://somebee.github.io/todomvc-render-benchmark/todomvc/im... . (look at tag.prototype.render). It's not exactly clean, although it'
11.
▲
by
sindreaa
11y ago
I now ran the benchmarks with the this['_' + i] change (which disables per-task caching, but does not really remove any/all caching alltogether. Imba is still 35x faster than react on the 'everything' benchmark (and
12.
▲
by
sindreaa
11y ago
See comment: https://news.ycombinator.com/item?id=10095990 . Thanks for taking the time to looking through the benchmark. I think you are misinterpreting things. Yes we do caching, and yes IF your app created a million tasks
13.
▲
by
sindreaa
11y ago
Hi there. This is utterly wrong, and if you had cared to read about what the benchmark is trying to achieve, you would understand ( https://github.com/somebee/todomvc-render-benchmark ). You cannot simply remove caching
14.
▲
by
sindreaa
11y ago
Thanks for the feedback. What do you mean with global variables for class state? We do consider moving class-bodies inside an actual function (again) - but there is a virtual scope there in the compiler. So class A var i = 10 var
15.
▲
by
sindreaa
11y ago
Yes, it can. Serverside rendering is still not very well tested, but it does work. I will create a simple example soon.
16.
▲
by
sindreaa
11y ago
Hi. We actually do a different kind of diffing - which turns out to be substantially faster than React: http://somebee.github.io/todomvc-render-benchmark/index.html . The language has just been released, it is still ver