Live data from Hacker News

HolyJit: A New Hope

blog.mozilla.org

211–219 of 219 posts

Re: HolyJit: A New Hope

#211
post #141

Earlier quoted context omitted.

lol, how much of the Firefox today is still Firefox of the beginning? :D

You'd be surprised. When working on Firefox I regularly run into files with "Copyright 1999 Netscape Communications..." file headers.

How much of NSPR is left in there? It's been a long time since I looked at the codebase.

Re: HolyJit: A New Hope

#212
post #53

"This means more time to implement JavaScript features" - yes, because JavaScript isn't getting enough features fast enough :-p Jokes aside, I love this kind of work from the Mozilla team. This and the bits going into Quantum are really amazing pieces of software engineering in my opinion.

> "This means more time to implement JavaScript features" - yes, because JavaScript isn't getting enough features fast enough :-p AFAIK Mozilla does not drive the evolution of ECMAScript (not on their own anyway), so it would be a way to provide new features faster, providing better feedback during phase 3 (and possibly even phase 2) and providing time to implement features they could not so far (e.g. ES6 TCO)

If they did we might have something closer to AS3 with optional typing and had it years earlier than the ES6/7 route has taken us.

Re: HolyJit: A New Hope

#213
post #64

Earlier quoted context omitted.

i feel like that's on purpose...we can engineer all these crazy things, but getting good DOM access? naw not possible

wasm is an MVP, they fully intend to add DOM support: http://webassembly.org/docs/future-features Its just that implementing the DOM requires a lot of other (complex) things 1. Stable JS object ABI 2. Integration with the GC garbage collector 3. Better integration with modules Personally, I'm hoping that we actually get a lower-level subset of the DOM apis that doesn't rely on as many OO features so we can bind to it…

Personally I'd like to see an experimental mode in Quantum/Servo with an RPC interface to render directly to the display list, possibly with an intermediary like a vector of VDOM operations.

Re: HolyJit: A New Hope

#215
post #139

Earlier quoted context omitted.

Oh, I'm a contractor and I'm paid decently, but the working conditions are terrible. I've been trying to find a job outside of defense/govt work for a long time, but either the pay isn't as good (the one or two times I managed to land an offer) or I'm not a "cultural fit." Not having a network outside of the govt bubble makes it hard.

Hi there, James. I'm a software engineer at Google. I've worked with many former government and defense contractors here whom I would consider some of the best engineers. Please send me your resume (or anyone else with a similar situation!); my email is in my profile. We have offices all over the US (but not Florida) so the bay area wouldn't be a requirement.

Well, I finally got tired of this place and went and got an offer from a local aerospace company, I suppose I ought to see how that goes :)

Re: HolyJit: A New Hope

#216
post #112

36000 lines of handwritten assembler in v8? Not since the transition to ignition and turbofan... $ git clone https://github.com/v8/v8.git $ cd v8 $ find . -name '*.S' There's still some macro assembler in the built-in's but it's emitted rather than being assembler.

For both SpiderMonkey and v8, this is counting the number of calls to the MacroAssembler. SpiderMonkey commonly use the prefix "masm", while v8 uses the macro "__ " to alias the MacroAssembler. The MacroAssembler, is basically what is used to produce assembly code in both JavaScript engines.

[deleted]

Re: HolyJit: A New Hope

#217
Whatever Mozilla. I'll care what you have to say in 10 years when I eventually get over how badly you are screwing me over by disabling all of the extensions that I rely on on a daily basis.

Re: HolyJit: A New Hope

#218

Earlier quoted context omitted.

That's all well and good, but you need to raise that with your IT department if it is an inconvenience rather than complaining to us. It seems odd that github would be blocked especially given HN isn't unless your company has some sort of pathological fear of accidental IP dilution, so perhaps it is a mistake that will be quickly corrected once pointed out?

What’s wrong with him asking for assistance? You could’ve just ignored his comment lol, no need to be so rude. Im dissappointed anyone upvotes you. This is bad behavior, shouldn’t be promoted.

> What’s wrong with him asking for assistance?

I didn't read it as a request for assistance, more a complaint that we weren't doing enough to assist by providing a link that would work in the specific circumstance that the poster finds themselves in (that we could not have known about ahead of time even if it was something we should be responsible for fixing or working around).

And I did offer assistance by suggesting the only practical way forward (unless you count HN banning github links because some of its readers can't access them as a practical way forward!): discussing the matter with the IT department. Especially as it _could_ be a mistake (externally sourced block lists being overly aggressive unbeknownst to them?) rather than a deliberate action. And if it is a deliberate action the poster may need to investigate what policy the block is part of to make sure they are not accidentally breaching it by other actions.

> no need to be so rude.

I used the exact same tone in my reply as I was replying to. A little passive-aggressive maybe, but if I was rude then so was what I replied to. I know two wrongs don't make a right, but then again neither does the first one on its own so I've not made the situation any worse.

Re: HolyJit: A New Hope

#219
post #211

Earlier quoted context omitted.

You'd be surprised. When working on Firefox I regularly run into files with "Copyright 1999 Netscape Communications..." file headers.

How much of NSPR is left in there? It's been a long time since I looked at the codebase.

NSPR is still all over the tree. Off the top of my head there's some log functionality, the print format strings, and the environment variable support in use. Searchfox turns up a bunch more: https://searchfox.org/mozilla-central/search?q=PR_&case=true...
Post reply on HN