Minko Gechev
blog.mgechev.com · Personal blog · on HN since 2012
Minko Gechev writes about JavaScript, Angular, compilers, and web tooling, with tutorials that build small compilers and frameworks from scratch.
What HN saysHN commenters cite his posts for Angular tree shaking, TypeScript with JSX, and binary data over websockets, and one debates his compiler-versus-transpiler framing.
35HN people shared it
6linked it in comments
70stories submitted
644story points
5 months agolast shared
2012people per year2026
Most-shared posts
- 1Implementing a Simple Compiler on 25 Lines of JavaScript7 people · 25 points · first shared 2017 · 2 comments on HN
- 2Build Your Own Simplified AngularJS in 200 Lines of JavaScript4 people · 12 points · first shared 2015 · discussion on HN
- 3Using Angular 2 in Production4 people · 9 points · first shared 2017 · discussion on HN
- 4Developing a Statically Typed Programming Language (2017)3 people · 146 points · first shared 2017 · 20 comments on HN
- 5Ahead-of-Time Compilation in Angular 23 people · 22 points · first shared 2016 · 4 comments on HN
- 6Machine Learning-Driven Bundling. The Future of JavaScript Tooling3 people · 5 points · first shared 2018 · discussion on HN
- 7Processing Binary Protocols with Client-Side JavaScript3 people · 5 points · first shared 2015 · discussion on HN
- 8Show HN: Multi-User Video Conference with WebRTC3 people · 1 points · first shared 2015 · discussion on HN
- 9VNC client in 200 lines of JavaScript2 people · 67 points · first shared 2013 · 11 comments on HN
- 10WebRTC chat with React.js2 people · 15 points · first shared 2014 · discussion on HN
- 11Boost the Performance of an AngularJS Application Using Immutable Data2 people · 8 points · first shared 2015 · discussion on HN
- 12Lazy prefetching of AngularJS partials2 people · 5 points · first shared 2013 · discussion on HN
- 13Fast, extensible, configurable, and beautiful linter for Go2 people · 5 points · first shared 2018 · discussion on HN
- 14Open Source and Career Growth. Personal Story2 people · 5 points · first shared 2017 · discussion on HN
- 15Building an Angular 2 Application for Production2 people · 1 points · first shared 2016 · discussion on HN
What HN people wrote when they linked it
e12e · 2015-01-05
This still doesn't really answer why one would use webrtc for multi-user video conferencing - without working multicast (which I still think is a given between most pairs of randomly choosen dsl subscribers, not sure if it would be an option for webrtc anyway) - you'd need to transfer N-1 bitrate up from each N participant in the multi-user conference. Not sure that's workable for ten 720p streams of reasonable quality - let alone for more participants? Clearly there are trade-offs - but do they make as much sense for multi-user conferencing? The teamspeak model of muxing streams on the server seem to make more sense?
Edit: I see this is actually addressed in the linked article[1] - basically a webrtc gateway can be used. No mention of any support for (cryptographic) authentication and of peers and encryption of streams as far as I csn tell, though. Which makes it a bit worse than chatting over ham radio...
Edit2: Apparently webrtc is "secure" by default [2] - that is the streams are encrypted with a session key - but there's no (working) way to authenticate - or prevent/detect mitm. Obviously a gateway would need access to the (plain) streams for muxing (barring some creative N-way p2p key setup and just blasting encrypted data (eg by not supporting more than one peer to transmit - but with typical latencies this would probably dictate some form of manual "passing-the-mic" moderation).
[1]…
ttd · 2017-12-28
If we're being pedantic, then it is a compiler. It's a compiler that targets another high-level language instead of a lowered representation. Transpiler is (in my opinion) a meaningless specialization of the word compiler.
The corresponding blog post (http://blog.mgechev.com/2017/09/16/developing-simple-interpreter-trans… does seem to be educational.
kowdermeister · 2017-06-07
Yes, it's called "tree shaking"[1], modern Angular apps can be cut down to a around 50-100k (assuming nothing heavy feature set). Find build tools that can do it, like Webpack or Rollup.
[1] http://blog.mgechev.com/2016/06/26/tree-shaking-angular2-production-bu…
jbrantly · 2015-07-20
Shameless plug but hopefully helpful: http://www.jbrantly.com/typescript-and-jsx/
And more:
http://blog.mgechev.com/2015/07/05/using-jsx-react-with-typescript/
http://basarat.gitbooks.io/typescript/content/docs/jsx/tsx.html
neslinesli93 · 2015-05-31
Library for handling binary with websockets, no commits since last year:
https://github.com/binaryjs/binaryjs/
Blog post regarding the basics of binary data + websockets:
http://blog.mgechev.com/2015/02/06/parsing-binary-protocol-data-javasc…
matthijs_ · 2015-01-05
The original blog post: http://blog.mgechev.com/2014/12/26/multi-user-video-conference-webrtc-…