Become a fan of Slashdot on Facebook


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: It's actually easy (really) (Score 2) 115 115

by Sam H (#42893913) Attached to: Can You Do the Regular Expression Crossword?

It took me less than 10 minutes to complete that crossword. It's actually easy, because the clues always give enough information to immediately place a letter somewhere with minor thinking; no tracking back is ever needed (unlike in some Sudoku grids where it's often easier to "try" a number, then cancel if an inconsistency appears).

Actually most of the clues can be easily translated to natural language and make the puzzle understandable to the average people: [^M]*M[^M]* means "there is one and only one M in this line", (RX|[^R])* means "every R in this line must be followed by an X", etc.

Comment: Re:Not much point in 64 bits here (Score 1) 224 224

by Sam H (#42075159) Attached to: Mozilla Dropping 64-Bit Windows Nightly Builds For Now

and going 64 bit has a significant memory cost -- for typical C++ code, around 33% extra.

There is no such thing as "typical C++ code" for the memory usage metric. Pointers may be larger, but a decoded 1680×1050 32-bit image takes 7 megabytes of memory on a 32-bit platform and 7 megabytes on a 64-bit platform. Remember that the web is full of images.

I work on multi-million-line C++ projects and my personal experience indicates about 5% overhead. I'm not saying you're wrong, but you really need to back up that claim with some real life figures if you're going to use the word "typical".

Comment: Re:Why is Direct3D still the de facto API? (Score 0) 496 496

by Sam H (#40861187) Attached to: Is It Time For an OpenGL Gaming Revolution?

No they don’t. The PS3 provides a stripped-down OpenGL ES for testing purposes but almost no one uses it except hobbyists or indie devs. And you can certainly guess how many hobbyists and indie devs there are who can afford targeting the PS3.

Most PS3 games use libgcm, Sony’s own graphics library for the RSX, which actually has a very Direct3D-like API. Source: if I told you, they’d have to kill me.

The rate at which a disease spreads through a corn field is a precise measurement of the speed of blight.