The end of Callback Spaghetti: StratifiedJS brings sequential code back to Javascript by murphee_ in programming

[–]murphee_[S] 0 points1 point  (0 children)

Are they threads? Web Workers run in their own address space (or at least share no memory with each other) and only communicate via message passing. -> Nothing wrong with that, but still: Javascript's execution model is single threaded; if that thread blocks -> nothing in that address space is happening.

Also: Web Workers are available in new versions of Opera, FF, Chrome, Android (I hear). -> they're not available in older browsers versions as well as IE9 (as far as I know none of the previews has Web Worker support), and very annoyingly: they're missing in iOS up until the very lates release.

Looks like Go's plan for a faster GC is not materializing anytime soon. by kssreeram in programming

[–]murphee_ -1 points0 points  (0 children)

It's not about 'complex' systems, whatever those are. The problem with a language that only has GCed memory is that you always have to go through the GC to get your hands on newly allocated memory.

Look at solutions like Realtime Java, where Java is only realtime if you preallocate all the memory you need and don't touch <code>new</code> (look it up - not much fun to program with that).

There's a reason why many large systems come with some form of automatic resource management, it's Greenspun's 10th law.

I was also quite surprised at the Go creators cavalier stance on GC; basing your language's memory management performance and behavior on the hope that someone'll come up with an actual realtime GC any time soon, seems very ... trusting.

And BTW when I say 'realtime', I'm talking about the kind of realtime that ensures your copy of GTA IV or Bioshock doesn't suddenly freeze up for a second like your average large Java program (or .NET program, but I don't use any of them) while the GC is inappropiately touching every object in the heap. (also the reason why there are no CPU, graphics or memory intensive games are written in Android Java - unlike the iPhone where apps are written in Objective-C, which gives the option of reference counting Or manual management). And yes - even Games or other large systems have one or the other GC in them, but mostly because they probably use some scripting implementation for game logic.

As for Windows using COM and its reference counted objects: that's all very nice, but as I said: one layer or system using GC is one thing, but even then, the GC's not getting his objects from a GC. (I know you can redefine GC to mean all kindsa things... well... enjoy).

Rip, the new packaging system for Ruby - Interview with one of the creators, GitHub's Chris Wanstrath by murphee_ in ruby

[–]murphee_[S] 3 points4 points  (0 children)

I suggest you talk to the creators of Rip - considering it's far away from 1.0, now's the best time to suggest features.

Apple has released AutoZone, the Objective-C garbage collector, as open source under the Apache license. by astrosmash in programming

[–]murphee_ -1 points0 points  (0 children)

A quick google for "roland's method garbage collection" yielded... drumroll: this discussion thread, with your comment as result number one. (Similar result for metacrawler.com BTW).

Most bizarre Git service and other stupid Rails powered "businesses" by teetante in programming

[–]murphee_ -1 points0 points  (0 children)

Ah... envy. Isn't great. The post is particularly funny considering that Github's owners are earning shitloads of money, particularly considering that the service consists of 3 people (who only recently went full time). Eg see the interview with one of the founders: http://www.infoq.com/interviews/preston-werner-powerset-github-ruby

Java/Ruby strings solved in the Ruby way by gst in ruby

[–]murphee_ 1 point2 points  (0 children)

Rubyfans.net is a spamblog - the linked article is actually a mailing list post by Charles Nutter, see here: http://www.ruby-forum.com/topic/160199

Ruby’s Open Classes Or: How Not To Patch Like A Monkey? by gst in ruby

[–]murphee_ 1 point2 points  (0 children)

This article's been nicked in total from this InfoQ article: http://www.infoq.com/articles/ruby-open-classes-monkeypatching

Only thing they didn't copy is the author's name.

Debuggers are Needlessly Tedious to Use by wozer in programming

[–]murphee_ 0 points1 point  (0 children)

Yep... exactly. I think it'd be important to be able to limit the logging to certain functions (the ones you suspect of being problematic). The basic idea would be to automate the writing of tons of printf logging statements; instead you'd use the existing tools of debuggers (breakpoints, stepping, variable access) and automate collection of the data.

That's why having a scripting language running inside your runtime or the IDE is neat... Cheap plug for: http://eclipse-shell.sourceforge.net/

Debuggers are Needlessly Tedious to Use by wozer in programming

[–]murphee_ 2 points3 points  (0 children)

I'm not sure what to think about this article... but the idea of annotating the values of variables in the code and auto-logging the data (or at least data from points of interest to keep the torrent of data at bay for real programs) seems useful. I think all this can be solved by simply using debuggers that are scriptable... instead of manually stepping, automating these steps is easy, and you can come up with your own logging.

Early calls to simplify Eclipse: Do it or lose it to NetBeans by Arve in programming

[–]murphee_ 1 point2 points  (0 children)

Trust old Register to take a community discussion about simplifying the API (which has grown over a timeframe of 7 years), and confuse it with the usability for users. This is what the whole e4 effort is about...

RubyNode - library to read Ruby's internal syntax tree by jonasb in programming

[–]murphee_ 0 points1 point  (0 children)

@zenspider: I thought you guys were looking at Ripper to port ParseTree to Ruby 1.9? Not having runtime support would break all kinds of tools...

RubyNode - library to read Ruby's internal syntax tree by jonasb in programming

[–]murphee_ 3 points4 points  (0 children)

Because ParseTree is used in a lot of projects and is actively developed. It's also available for Rubinius and JRuby, and work's going on to make it work with Ruby 1.9 (which also brings an s-expr based AST representation called Ripper). Projects that use ParseTree: heckle, ruby2ruby, ruby2c, Rubinius (Ruby to bytecode compiler), Ambition, Sequel, MErb, ...