Skip to content

Comment on Steve Jobs Doesn't Want Shit In His App Store, And Neither Do Iparent

Comments

Sorry, but if you knew what you are talking about, you would not call a parser with callbacks a compiler with VM. Maybe SAX parsers are also compilers and run some VM? What does parsed CSS selector compile to? Where is that VM and what does it run? Bytecode?

Sizzle is just a parser what parses given selector into parts, gets matchin DOM elements, filters them and returns what matches. There is no compilation or virtual machines involved, just some string parsing, callbacks and DOM API.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.