Top all-time · #2498
Dmitry Soshnikov
Personal blog · dmitrysoshnikov.comprogramming
Dmitry Soshnikov's personal blog at dmitrysoshnikov.com covers programming. Since 2011, 33 different Hacker News readers have linked it 45 times, most often “JavaScript. The Core: 2nd Edition”. The last post was in 2023, but the archive is still widely read.
Explore more courses in [ dmitrysoshnikov.education] school. "Basic Minimum" JIT - Project "Boyko" Add-On for the Programming Languages: Ultimate gaming experience ⭐️ A short morning briefing in the office. Use control elements. Switch the background
Most-linked posts?
- JavaScript. The Core: 2nd Edition7 people · 7 mentions · first linked 2017-11-15
- Writing a Memory Allocator (2019)5 people · 6 mentions · first linked 2019-02-08
- Javascript. The core.5 people · 5 mentions · first linked 2011-01-29
- “Essentials of Garbage Collectors” full course is now available2 people · 2 mentions · first linked 2019-07-07
- /2 people · 2 mentions · first linked 2012-10-20
What Hacker News says?
I think the sentiment of "you dont know what you dont know" is especially cumbersome with JS, since its usability is so much defined by its extensions (WebAPIs, runtimes etc.) Reading into specs (ECMAScript[0], W3C[1]), some more approachable explanations[2] of them and some implementations[3, 4] of embedded engines seem to be my approach. [0]: https://tc39.es/ecma262/2020/ [1]: https://github.com/w3c [2]: http://dm…
Comment linking /ecmascript/javascript-the-core-2nd-edition/
on “Eloquent JavaScript 3rd Edition (2018)”Submitted JavaScript. The Core: 2nd Edition as a story · 413 points
HN discussionI have to mention Dmitry Soshnikov's "JavaScript. The Core" webpage. The concepts explained in version one published in 2010 helped me land several contracts. Now I see he has "JavaScript. The Core: 2nd Edition". Thank you Dmitry! http://dmitrysoshnikov.com/ecmascript/javascript-the-core-2n...
Comment linking /ecmascript/javascript-the-core-2nd-edition/
on “Concepts to help developers master JavaScript”Submitted Parsing Algorithms as a story · 407 points
HN discussionThe parent article is quite interesting and slightly different being cpp [1]. There is also a post about writing a memory allocator [2]. [1]: http://dmitrysoshnikov.com/compilers/writing-a-pool-allocato... [2]: http://dmitrysoshnikov.com/compilers/writing-a-memory-alloca...
Comment linking /compilers/writing-a-memory-allocator/
on “Writing a simple pool allocator in C”Submitted Writing a Memory Allocator (2019) as a story · 170 points
HN discussionDude, just admit you’re wrong about what kinds of patterns are natural or common in JS and about what was “in mind” when it was created. Here are some popular big JavaScript toolkits/frameworks: Closure Library, YUI, Dojo, Prototype, MooTools, ExtJS, Base2, JavaScriptMVC, Backbone. http://closure-library.googlecode.com/svn/docs/closure_goog_... http://yuilibrary.com/yui/docs/api/classes/Base.html http://livedocs.doj…
Comment linking /ecmascript/chapter-7-2-oop-ecmascript-implementation/
on “CoffeeScript is not a language worth learning”Submitted “Essentials of Garbage Collectors” full course is now available as a story · 155 points
HN discussionWhen I started out, this and "Secrets of the JavaScript Ninja" didn't help me understand. For me, after months of trying to understand JavaScript, Dmitry Soshnikov's post, JavaScript. The Core, made understanding closure, prototype, and scope chain crystal clear in about 30 minutes. [0] Also, every time someone shares a basics on JavaScript link on Hacker News I also share my interview guide which despite its popula…
Comment linking /ecmascript/javascript-the-core/
on “Learning Advanced JavaScript (2008)”Submitted Essentials of Interpretation as a story · 57 points
HN discussionhttp://dmitrysoshnikov.com/ top right hoover over "Menu"
Comment linking /
on “Ask HN: Learning to write good JavaScript”Submitted Scheme on CoffeeScript as a story · 41 points
HN discussion@ameyv, thanks for the feedback! Yes, there will be more courses related to implementation of programming languages: Automata Theory, Theory of Parsing, Essentials of Interpretation, and others. There are some lab sessions for the Garbage Collectors class, e.g. Writing a Memory Allocator from Lecture 6, where we implement an allocator similar to `malloc` function: http://dmitrysoshnikov.com/compilers/writing-a-memor…
Comment linking /compilers/writing-a-memory-allocator/
on ““Essentials of Garbage Collectors” full course is now available”Submitted Javascript. The core. as a story · 5 points
HN discussion"W3schools obviously fills a niche that the W3C isn't filling" This alone is the biggest problem - that you think they are somehow related. They are not. "W3Schools has gone through the work of reading the spec and turning it into a good reference" No. You're wrong. THIS: http://dmitrysoshnikov.com/ecmascript/ ...is a good reference based on a spec.
Comment linking /ecmascript/
on “W3Fools - A W3Schools Intervention”Submitted By-value, by-reference, by-sharing: strategies of passing arguments as a story · 4 points
HN discussionHere is the garbage collector course from the FB engineer. http://dmitrysoshnikov.com/courses/essentials-of-garbage-col... Garbage collector is a part of compiler technology.
Comment linking /courses/essentials-of-garbage-collectors/
on “Ask HN: Online Compiler Courses?”Submitted Javascript. The Core. as a story · 4 points
HN discussionWhen I was learning more about this, I found this[1] article to be of great help. I think the key idea is that JS is a prototype-based OO model. It's easy to forget because there are so many abstractions[2] that act like a JS is a static class based OO language. [1] http://dmitrysoshnikov.com/ecmascript/chapter-7-1-oop-genera... [2] http://coffeescript.org/#classes
Comment linking /ecmascript/chapter-7-1-oop-general-theory/
on “JS Objects: Inherited a Mess”Submitted Scheme's Metacircular Evaluator ported to CoffeeScript as a story · 4 points
HN discussionFor highly technical analysis of the ECMA Script (JavaScript) language I highly recommend the series of articles of Dimitry Soshnikov. http://dmitrysoshnikov.com/ecmascript/javascript-the-core/ These series of articles are probably the deepest series into the language on the Internet (surpassing even Crocford's articles as far as depth goes).
Comment linking /ecmascript/javascript-the-core/
on “Eloquent Javascript now in print”Submitted Writing Mark-Sweep Garbage Collector in C++ as a story · 3 points
HN discussion[SPOILERS] I got tripped up by question #5 of one of the expert quizzes [1] due to a difference between ActionScript 3 and JavaScript [2]. In AS3, `(a).b` is equivalent to JS's `(null, a).b`. That is, the `this` binding is lost in AS3 (but not JS). I thus thought the anser was "20, 10, 10, 10", and not "20, 20, 10, 10". AS3 is not a superset of ES3 as most people believe. [1] http://dmitrysoshnikov.com/ecmascript/th…
Comment linking /ecmascript/the-quiz/
on “JavaScript Quiz Set”Submitted Writing a Memory Allocator as a story · 3 points
HN discussionI like the courses offered by Dmitry Soshnikov [0][1]. I have gone through Parsing algorithms and Garbage Collection algorithms courses, they were really fun. I messaged him on twitter recently and he was kind enough to offer nice discount for Cyber Monday [2] [0] - https://news.ycombinator.com/user?id=DmitrySoshnikov [1] - https://www.udemy.com/user/dmitry-soshnikov/ [2] - http://dmitrysoshnikov.com/
Comment linking /
on “Ask HN: Top Udemy Courses?”Submitted Essentials of interpretation as a story · 3 points
HN discussion* Learn JavaScript: https://developer.mozilla.org/en-US/learn/javascript * JavaScript. The Core: http://dmitrysoshnikov.com/ecmascript/javascript-the-core/ * Learning Advanced JavaScript: http://ejohn.org/apps/learn/ * JavaScript Garden: http://bonsaiden.github.com/JavaScript-Garden/
Comment linking /ecmascript/javascript-the-core/
on “Ask HN:What are best online sources to learn JavaScript?”Submitted Parsing Algorithms (2020) as a story · 2 points
HN discussionI would suggest you to read Dmitry Soshnikov blog, it has great level of details http://dmitrysoshnikov.com/tag/ecma-262-3/ . This 3 books are great reading material: 1) JavaScript: The Good Parts - Douglas Crockford, 2) High Performance JavaScript - Nicholas C. Zakas, 3) JavaScript Patterns - Stoyan Stefanov
Comment linking /tag/ecma-262-3/
on “Ask HN: Best HTML5/CSS3/JavaScript books/tutorials for a kernel engineer?”Submitted “Building a Parser from scratch” full course as a story · 2 points
HN discussion