Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:jscript (Score 1) 505

To clarify your last statement a bit, TypeScript is designed as a superset of JavaScript. All valid JavaScript is valid TypeScript. All you have to convert your project is say "my project is in TypeScript now," and you can then start adding TypeScript features to your code -- or not -- as you see fit. That's as opposed to Dart, which really is a different language with a different syntax and you have to start over.

Comment Re:jscript (Score 1) 505

The point of C is that it's fast as hell and gives you almost complete control.

No, assembly language is fast as hell and gives you complete control. The point of C is that it gives you almost as much control but makes it easier to build and maintain large systems without you being some kind of semirobotic idiot savant. In other words, C IS a "dumbed down" language, just like some of the other ones people are complaining about.

Comment Re:Replusive (Score 1) 505

The best approach, therefore, is to build a compiler back-end that targets *both* ASM.js *and* (P)NaCl.

Or just compile your code twice, using two different back ends? I don't see much wisdom in building a compiler that tries to do two things at once.

Comment Re:...but if you want free software to improve... (Score 2) 1098

Yes, this is exactly the issue. GPL isn't "more free" than BSD. Quite the opposite. GPL is far less free as it grants the users less freedoms.

The BSD approach is "Here is something nice I made - have it and do what you like, hope you have fun!"
The GPL approach is "Here is something nice I made - you can use it, but if you you have to let me play with you stuff. I don't care that your thing might be vastly better or more complicated than mine, if you're using my stuff you sure better make sure I can use everything you make."

I think you've mischaracterized the GPL approach. By using the personal pronoun, you make it sounds like the GPL forces people who make derivative works to do things for the original developer. That's not the intent at all. The intent is to make sure that people who make derivative works do things for everyone – meaning everyone collectively, not individually. GPL grants users lots and lots of freedoms; the one freedom it does not grant is the freedom for you to withhold from others the freedoms that you yourself enjoy. BSD does grant you that freedom.

Comment Why the ©? (Score 3, Informative) 46

What is with all the HAL©, HAL(Circle-C) nonsense in the submission? Is that supposed to be some kind of joke? Looking at the website, the company doesn't style the product name that way. Is it supposed to be some sort of winking reference to copyright (hurrr, hurrr)? Because that doesn't make any sense...

Comment Re:No bugs are random - computers are deterministi (Score 2) 165

It is not random. If you have enough knowledge and the ability to comprehend that knowledge, you can predict what will happen. Nothing is random.

Sure, as long as you start a program and let it run all by itself without touching anything. As soon as you introduce human input, the system may still be deterministic, but the output of the program is in effect random because the behavior of the operator cannot be predicted. The kind of "knowledge and the ability to comprehend that knowledge" that you describe is known as omniscience, and most IDEs currently don't support it.

Comment Re:Don't stop your meds! (Score 1) 218

A really common one is simply, "I feel fine. I feel better than I have in years, and I've felt this way for months." That's when people really start looking at side effects with a critical eye ("it makes me foggy") and decide they can go it on their own. And often it's insidious; if someone is manic, for instance, at what point do family members step in and say "you're not doing as well as you think you are"? If you're skipping your treatment, you're probably not getting the feedback you need to properly evaluate where you're at.

Comment Re:I hate theories like this. (Score 1) 289

What are you talking about? JavaScript must always necessarily be slower than native code due to its abstracted nature. If it needs an interpreter, or virtual machine, or any other intermediate process between the program code and the CPU, there will be overhead.

This is kind of an old-fashioned argument. Modern VMs are often essentially executing native code by the time the code is actually running. If the bulk of the overhead happens at launch time, or a JIT compiler only has to step in every so often, the level of performance can be such that the difference from "pure" native code is insignificant for most applications. Don't mistake a modern VM for a 1980s style Basic interpreter. The two are very different beasts.

Comment Re:Update the ecma standard (Score 1) 289

I don't like Emscripten. A language divorced of the prototype hogwash and weird 'this' scoping of JS which causes (OOP headaches) would be nicer.

You mean like C++? Because that's what you compile with Emscripten.

Comment Re:Suspect even at -O0 -g (Score 1) 289

Why do you think that single process has anything to do with this ? The Mozilla developers clearly want to do this, it just is a massive effort to change their code to suite the model.

Really? You're saying the Mozilla developers "clearly" want to switch to Pepper/PPAPI? Because I don't think that's very clear at all.

As for NaCl, Mozilla has been pretty adamant that it's not interested.

Slashdot Top Deals

Nothing succeeds like excess. -- Oscar Wilde

Working...