Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
Check out the brand new SourceForge HTML5 speed test! Test your internet connection now. Works on all devices. ×

Comment Re:MS misunderstood Google (Score 1) 110

Once you pay for corporate Gmail, all privacy issues are gone

Spoken like someone who has never tried to use Google's commercial offerings. They claim that they anonymise the data that they collect, but they still collect a lot and their sales people have no power to negotiate on this (Microsoft's do and, unlike Google, were able to provide an SLA that allowed us to meet our legal requirements for confidentiality).

Comment Re: First? (Score 1) 110

Office for Mac has been around for ages and it is really good.

No it isn't. For a trivial example, on every Mac application command-z is undo, command-shift-z is redo. Except Office, which uses command-Y for redo. Office is the only Mac application where the format dialogs are modal and need you to hit 'ok' before they apply the style. It violates the Mac HIGs in so many ways that it's painful to use (though SmartArt in PowerPoint is worth the pain).

Comment Re:c++ needs to know its place (Score 1) 278

Actually, that is the case for the original Smalltalk VM and descendants such as Squeak / Pharo. The core is written in a subset of Smalltalk that does not use dynamic dispatch or dynamic memory allocation and the rest (including the JIT) is written on top of that in Smalltalk. The Jikes RVM for Java implements most things in Java, including the garbage collector.

Comment Re:Missing features (Score 1) 278

Their main limitation is that they are not context aware. You have to fall back to C macros if you need to refer to anything in the enclosing context. Hopefully after basic reflection is in, the reflection group will work on providing an implicit instantiation context object to templates that lets them refer to variables (and things like the source location) from the enclosing scope.

Comment Re: c++ is now the world's most complex language (Score 1) 278

That certainly was true prior to C++11. The big win for other languages now comes from the fact that C++ prefers compile-time specialisation. Most OO languages provide a string class that has a couple of primitive methods for getting the length and a range of characters and a load of high-level methods that rely on these. As long as those two are efficient, then your strings are efficient. C++ standard strings expose the data representation and so you can't easily replace them with something else. To avoid this, algorithms in C++ are typically written using iterators (which are quite difficult to implement to both be efficient and maintain data hiding), but then you must have the code for the algorithm and the code for the data compiled together. This means that your code size becomes NxM in terms of the number of algorithms and the number of types of data. This can quickly blow away your instruction cache, at which point even an interpreted language will be faster if the interpreter fits in the i-cache (as things like the first-tier interpreter for JavaScriptCore do) and the bytecode fits in L1.

Comment Re:Sweet (Score 1) 278

Another AOL-style post from me. C++98 was a language I detested. C++11 became my default language for new projects. As long as you follow some simple rules (e.g. operator new should never appear in user code) it's very simple. Lambdas are also very useful for reducing duplicated code, as you can factor out short 3-4-line sequences that you'd normally copy and paste, directly referring to variables in the enclosing scope, and call them with the different arguments. The compiler will inline them and give you the same code as if you'd just copied the code, but you have much cleaner source.

Comment Re:Convenience. (Score 1) 161

When they introduced it, it was the only display with a Thunderbolt connector and hub, so it commanded a premium. They assumed other manufacturers would make a consumer version and never reduced the price to something that most Mac users (not exactly a stingy group) would consider reasonable.

Comment Re: You made it, Syrians! (Score 1) 1584

Meanwhile, UK trade with the EU will continue full force.

Until we leave. Then what? The Denmark model, where we'd pay the same amount as we do now, only without any representation in the EU Parliament? Sounds like a great plan!

UK trade with Asia and the US will be unaffected, and so on

China has been negotiating trade deals with us as a way into the EU. If we're no longer part of that, we're a far less attractive trade partner. The USA? Maybe, though Obama did say before the referendum that it was unlikely. How well do you think a successor to TTIP will go when it's just the UK and USA negotiating?

Comment Re:Don't do it (Score 1) 178

I was going to say the same thing. For Americans, if you complete a Direct Debit form in the UK, then a company can take money from your account, but if you complain to the bank then the Direct Debit Guarantee means that they will immediately, and without question, reverse the transaction. It is then up to the company to take you to court for the unpaid debt, the bank is no longer involved.

Comment Re: Rationale aside... (Score 1) 1584

That's because the last few British governments have enjoyed using their influence in the Commission to take any unpopular measures and pass them there instead of at home. The EU has been very useful for them, but unfortunately this has somewhat backfired as a couple of decades blaming everything on the EU has prevented people from realising who is responsible.

Slashdot Top Deals

Quantum Mechanics is God's version of "Trust me."

Working...