Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:This obsession with everything in RAM needs to (Score 1) 161

If you're going to MARK/RELEASE why not malloc/free? Same goes for languages like Java - if you have to null a reference for it to get collected, how is that different from free() or delete? It's still a line of code you have to remember to put in your program at the right place.

For two reasons:

1) It's easier to MARK the heap on the beginning of the task, using it as there's no tomorrow and then just RELEASE everything at once on the end. (nothing prevents you from deleting some pointers in the job to save memory).

2) You avoid HEAP fragmentation, easing the memory management's life.

Anyway, it appears to me that you missed the point. I was criticizing the pretense "no overhead garbage collector" from Azul.

Comment Re:This obsession with everything in RAM needs to (Score 2) 161

And yes, a garbage collector with zero overhead. Who would have thought? Well, pretty much anyone in the know, I guess.

MARK / RELEASE from the Pascal days used to work pretty well - this is the less overhead "garbage collector" possible.

It's impossible to have a Garbage Collector without some kind of overhead - all you can do is try to move the overhead to a place where it's not noticed.

There's no such thing as Free Lunch.

Comment Re:This obsession with everything in RAM needs to (Score 5, Insightful) 161

I know you're afraid of the garbage collector, but it won't bite. I promise.

Yes, it will. It's not common, but it happens - and when it happens, it's nasty. Pretty nasty.

But not so nasty as micromanaging the memory by myself, so I keep licking my wounds and moving on with it.

(but sometimes would be nice to have fine control on it)

Comment Re:Most humans couldn't pass that test (Score 1) 285

People usually make the big mistake of taking himselfs as measure for everybody else.

Turing was a hell of a smart guy - I bet my mouse that he had this mindset ("everybody is more or less smart as me") when he designed that Test.

By the way, there's a joke around here that states: The sum of all Q.I. in the Earth is a constant - and the population is growing...

There's more instructed people nowadays, but smart? I'm afraid that not - Turing didn't live to see what we are nowadays.

Comment Re:As someone who... (Score 1) 154

How does making the handsets in China reduce the cost to ship them to American customers? Seriously

Easy. You americans charge 20 times more for the shipping than the chinese.

Simple like that.

Last year I got some arduino spare parts costing about 40USD. I got free shipping, It took 3 months to get delivered at my home, but the shipping was free.

The same parts on eBay would cost me 45, 47 USD. Not bad. But the cheapest shipping would cost me another 50USD.

Do your math.

Comment Re:Sounds like the eBay I knew... (Score 1) 60

Hmm? Brazil and Argentina have "mercado livre" for years, and AFAICT they're ebay with a different name (same platform).

Yep. Until not that much time ago, M.L. was a fine place to buy and sell. But from some years to now, things changed - user's support is near zero, you just can't make a complaint online. Too much rules are relaxed, what favors bad faith sellers.

EBay was a partner until recently, but what we heard is that eBay got fed with all that and decided to do business directly around here. What is one of the best noticies we got in years : we *need* competition around here.

I found something here to supports what I'm saying. Google translating here.

Comment Re:PS4 hardware (Score 1) 152

More people are still buying PS3s than 360s worldwide. The 360 has only dominated (and is still selling relatively well) in the US and UK.

Oh, you mean the countries where people buy the most [legitimately licensed] game consoles? Please, do go on.

Yes, exactly that countries. Now, keep in your mind that only a tiny fraction of PS3 are currently "jailfree", as only the first models (the "Fat PS/3") run the firmware version that allowed the hack, and only a even smaller fraction of that fraction was never updated (downgrading the firmware is risky - usually bricks the console).

On the other hand, the hacked XBox "installed based" is huge. Every single friend of mine that are XBox users has a hacked console to play pirated games. About half has also an original XBox to play Network.

The other half that are PS3 owners, I'm not aware of a single one that has a pirate capable PS3. We all buy our games (most of the time, second hand) or download them (legally) from PSN.

And Yes, we're doing this on a country where pirating goes unchecked for decades (no, I'm not chinese! =D).

That's something to think on.

Submission + - Amazon Escalates Its Battle Against Publishers (nytimes.com)

An anonymous reader writes: Just weeks after the retailing giant began pressuring the publisher on pricing by delaying shipping and cutting discounts, it is now refusing orders for coming books. The retailer began refusing orders late Thursday for coming Hachette books, including J.K. Rowling’s new novel. The paperback edition of Brad Stone’s “The Everything Store: Jeff Bezos and the Age of Amazon” — a book Amazon disliked so much it denounced it — is suddenly listed as “unavailable.” In some cases, even the pages promoting the books have disappeared. Anne Rivers Siddons’s new novel, “The Girls of August,” coming in July, no longer has a page for the physical book or even the Kindle edition. Only the audio edition is still being sold (for more than $60). Otherwise it is as if it did not exist. Amazon is also flexing its muscles in Germany, delaying deliveries of books issued by Bonnier, a major publisher.

Comment Re:double (triple?) replying (Score 1) 152

As a mater of fact, your (almost desperate) counter-arguments to every single and minimal "goofy" of mine just demonstrates how difficult are being to you to simply present some facts that proves me wrong.

Let me tell you something: inside your Intel chip, there're not only three "integer coprocessor", but a entire array of ALUs.

From Pentium and ahead (if I remember correctly), Intel decided to o "RISC" style and invested a lot of efforts on pipelining the thing, in order to achieve a better instruction per cycle ratio. By the nature of pipelining make it hard to fully use all internal "coprocessors", they discovered that unless the programmer do very specialized techniques while programming, 20% (at the very best) of the chip stays unused all the time. A pretty waste.

They managed to overcome the industry incapacity to get rid of ancient programming habits (please read it right: I said ancient, not wrong) with hiperthreading. They just sacked another pipelined Control Unit inside the core, carefully crafter to use the chips parts that the first pipeline leaves unused. Each Control Unit appears to the Operating System as a CPU core (but make no mistake: it's just ONE core, faking it is two).

There's no problem with this solution, but one (sane - or at least non stupid) person can not just tag "stupid" anything that decides to be a better idea avoiding all that "faking two CPUs" thing, saving the money or the chip space, leaving space to yet more features.

The ordinary Intel chip nowadays has a lot more cores than the CELL. But you don't see it, because you choose to learn programming on a eco-system that uses customer money to make things easier to you. There's no problem with it, it's a valid way of doing things.

But what's wrong is just calling everybody that thinks that it's better to make developer's life a bit more complicated in order to save money on the long run. Doing this is not just wrong, its plain stupid (or bad faith).

Games have a different development cycle : the game maker (software) spends a lot, but a really lot of money building the game to one platform, but when the thing is done, the thing is done. For the rest of the product's lifecycle, development is at minimum. It's not a continuous development cycle that we're used on PCs - the hardware does not change! Again, when the thing is done, it's done.

It totally makes sense on saving money on hardware, what is hard and costly to "duplicate" (and the manufacture sinks money during all the product's lifecycle), even if by doing it, you make the developer's life harder as their product has a shorter development lifecycle, but it's easier to "duplicate" and have the same lifespan as the hardware.

Developers are not the core business in this industry. We're a important part of the business, but that's it.

(grow up!)

Slashdot Top Deals

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...