Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:I don't think it will gain much traction (Score 1) 175 175

Yeah it is because the optimizing compiler does not know how to optimize those things yet. But in reality having a proper examinable bytecode would be better for those times you actually need every little bit of performance. Examining the bytecode of your own code is easier than trying to understand the compiler (badly documented and forever evolving) optimizations.

Comment Re:I don't think it will gain much traction (Score 2) 175 175

V8 actually has two JIT compillation modes exactly because of things like this. One handles "easy" functions and the other handles "hard" functions (functions that contain eval or try and catch for example), the "easy" compiller has worse performance. This link explains it well:

https://github.com/petkaantono...

Great read for people who want to optimize for V8, many of the tips should be valid for other javascript engines as well.

From the article:

Currently not optimizable (ie will use the slower compilation method):
Generator functions
Functions that contain a for-of statement
Functions that contain a try-catch statement
Functions that contain a try-finally statement
Functions that contain a compound let assignment
Functions that contain a compound const assignment
Functions that contain object literals that contain __proto__ , or get or set declarations.

Likely never optimizable:
Functions that contain a debugger statement
Functions that call literally eval()
Functions that contain a with statement

Comment External eSataP SSD on company computer (Score 2, Funny) 210 210

My company gave us notebooks without SSDs, but they are pretty lax on external devices (you can bring your own mouse, pen drives and such). So I brought a SSD and bought an esatap cable (esata-powered, those cables are a pain in the ass to find https://en.wikipedia.org/wiki/... ) and installed linux mint in it. I boot straight to linux (they don't lock the bios) and do not even use the HD inside the notebook. Since the company also seems to think that RAM is a non-renawable resource they also saw fit to give us only 4gbs of it, so my swap partition is also on the SSD.

This setup helps my work a lot, before I started doing this my workflow was frustratingly slow, now everything runs just fine. It helped a lot when the RAM runs out and it starts doing swap, it still gets slow but not anywhere near as much as before.

Comment Re:It is a vicious cycle (Score 1) 385 385

To me facebook is in the stage "said web application gets increasingly worse usually as a consequence of trying to monetize it or due to the sheer number of people using (drowning everyone else in noise)". The users have not yet started to migrate to alternatives.

Comment Re:It is a vicious cycle (Score 1) 385 385

To me facebook is in the stage "said web application gets increasingly worse usually as a consequence of trying to monetize it or due to the sheer number of people using (drowning everyone else in noise)". The users have not yet started to migrate to alternatives.

Slashdot is the one that is only a shell of what it once was and digg is the one that is dead.

Comment It is a vicious cycle (Score 4, Insightful) 385 385

A website comes and makes some "social web application for sharing stuff", said web application has some very interesting discussions -> said web application gets popular -> said web application gets increasingly worse usually as a consequence of trying to monetize it or due to the sheer number of people using (drowning everyone else in noise) -> users start to migrate to alternatives -> only a shell remains -> death.

See: digg, facebook, myspace, orkut, slashdot...

Comment Re:Please stop (Score 1) 72 72

Actually the pros do care a lot if it considered a sport or not, it can make it a lot easier to travel (getting visas for example), get incentives from their governments (tax breaks and such), companies can have a "sports budget" to sponsor sport teams and guess what, they can not use that budget if it is not an sport.

In short, the pros don't care what it is labeled as long as their governments (and the governments of the countries they will visit) recognize them as sports or at least have a specific rules for competitive eletronic games.

Comment They should start with Counter Strike (Score 1) 72 72

Counter strike is far more limited in the range of possibilities of what that can happen in a single match. Not only are the matches far shorter (and as such does not have phases like dota) given a map there are only a handful of strategies possible to use. A bunch of other reasons too, statistically mine a game like dota to me seems to be an impossible task, there is just too much variation between matches.

Your good nature will bring you unbounded happiness.

Working...