Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hzoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
hzoo
5y ago
Thanks for sharing, I'm very interested in how his ideas might help us understand open source as well! Actually just posted a few chats recently on Illich, the last one speaking on this and related essays. https://hopeinsour
2.
▲
by
hzoo
8y ago
Thanks for sharing @andy_adams! Henry here, happy to chat with y'all (Victor and Tony) if you'd want
3.
▲
by
hzoo
8y ago
haha oops I totally wasn't looking at who I commenting with, definitely agree! Thanks!
4.
▲
by
hzoo
8y ago
Yep there's been various PRs for perf over the years but it's never been a focus per-se, and we've had help from various people including the v8 team https://twitter.com/left_pad/status/927554660508
5.
▲
by
hzoo
8y ago
Yeah I've had a difficult time figuring out how this was tested: I would recommend using the benchmark at https://github.com/v8/web-tooling-benchmark in the future if it's currently not possible since curren
6.
▲
by
hzoo
8y ago
If you can use test262's test suite you should be good, it looks like they are referring to Babel's tests for some of the features? example https://github.com/swc-project/swc/pull/86 , I just checked
7.
▲
by
hzoo
8y ago
We certaintly have PRs around perf https://github.com/babel/babel/labels/area%3A%20perf but we don't have explicit benchmarking for it, and have had work from v8 team and others https://twitte
8.
▲
by
hzoo
8y ago
Henry here, didn't expect this post to ever be on HN heh! The podcast is a 10 episode series (pre-recorded it over the last 5 months) with my friend Nadia (who isn't religious) I'm writing up a post about making it from scrat
9.
▲
by
hzoo
8y ago
I also really liked the follow up on the three virtues, in the 2nd State of the Onion ( http://www.wall.org/~larry/onion/onion.html ) > Most of you are familiar with the virtues of a programmer. There are three,
10.
▲
by
hzoo
8y ago
If dependencies are an issue, I would like to make another package that just bundles it all into 1 package (reuse `babel`) so there aren't any "deps" to install but haven't gotten around to doing it, would be a useful c
11.
▲
by
hzoo
8y ago
thanks for posting! I personally usually just use https://babeljs.io/repl/build/master !
12.
▲
by
hzoo
8y ago
ESLint post: https://eslint.org/blog/2018/07/postmortem-for-malicious-pac...
13.
▲
by
hzoo
8y ago
Yeah, I did this for my Patreon as well (some people donate less but it's not the majority) https://www.patreon.com/henryzhu (I also quit a few months ago to do open source on Babel ). Maybe also depends on audience an
14.
▲
by
hzoo
9y ago
> I work on tooling for a living, and have in fact tried to contribute back to babel but unfortunately there's so much noise and traffic that there's just as good a chance that your PR is stuck in limbo forever than being merge
15.
▲
by
hzoo
9y ago
> * From my measurements, TypeScript is quite a bit faster than Babel at compiling ES2017 to ES5. From a quick test, TypeScript took 35 seconds and Babel took 140 seconds when run on my codebase at work. Hmm, I would of thought it would
16.
▲
by
hzoo
9y ago
Yeah I was hesitant due to not that much support in the community, etc but after hitting the typo-squatting issue over like 5 times (you'd think once would be enough) it just had to be done. There are other issues for our plugin ecosys
17.
▲
by
hzoo
9y ago
> From what I understood, there is currently nothing to allow both ES5 and ES6 code to be published and let the bundler choose which one to include. Any ideas on how to change this? Yeah it's mostly a conventional then we have to fi
18.
▲
by
hzoo
9y ago
Hmm, sorry it feels that way! I don't use react-native and don't think anyone on the team was informed of that issue - but is it really an issue from Babel itself? I guess in that case I would suggest not transforming files like &
19.
▲
by
hzoo
9y ago
Oh cool, didn't realize someone posted to HN (I haven't been on HN in a while =D)! Open to questions and clarifications (on the actual content of the upcoming release, process, how to help, future, whatever)! There are a few thing
20.
▲
by
hzoo
9y ago
Yep you got that right! Only thing I can think of (since changing the default to be non-spec would be odd) is just warning on larger code size outputs and saying you could try loose mode in certain plugins/situations. Lastly would be d
21.
▲
by
hzoo
9y ago
I answered this on twitter: https://twitter.com/left_pad/status/936721918840983554 And added this option + optimization for v7 https://github.com/babel/babel/tree/master/package
22.
▲
Deploying ES2015+ Code in Production Today
(philipwalton.com)
4 points
by
hzoo
9y ago
|
0 comments
23.
▲
by
hzoo
9y ago
I'll update the post to give an idea of how it works, thanks!
24.
▲
by
hzoo
9y ago
Yeah, it doesn't doesn't anything that is multi-file like const enums since Babel operates per file. (I work on Babel)
25.
▲
by
hzoo
9y ago
Gave a talk at React Rally that goes over this briefly. https://github.com/hzoo/so-how-does-babel-even-work , and a basic version of the actual Babel transform: http://astexplorer.net/#/gist/cc
26.
▲
by
hzoo
9y ago
It's parseable in Babel 7, issue to implement the transform is https://github.com/babel/proposals/issues/2
27.
▲
by
hzoo
9y ago
The purpose of https://github.com/babel/babel-preset-env is that it handles all this automatically (not run when it's supported natively)
28.
▲
by
hzoo
9y ago
If anyone wants to try this out (I did), just added it to the Babel website! https://babeljs.io/php atm you have to add `<?php` at the beginning.
29.
▲
by
hzoo
9y ago
Yep, if anyone can/wants to help out with this effort I would follow/review the issues/PRs in our typescript label https://github.com/babel/babel/pulls?q=is%3Apr+is%3Aopen+lab... (I help with Babel)
30.
▲
by
hzoo
9y ago
Yeah a good idea. I was thinking we could make a similar table to compat-table (maybe using six-speed or this) that we could use as data to https://github.com/babel/babel-preset-env so that Babel could compile based on
More ›