Passionate about your results
  About Us      Services      Products    Industries  Partners    Careers    Awards News Contact Us 29

Marlabs Blog

Stay connected with the
worldwide business
GIL – A Non-Issue Issue! Thursday, March 25, 2010

An important topic related to both Ruby & Python is the Global Interpreter Lock (GIL). Because of GIL, pure Ruby/Python languages can use only one CPU (1 core) regardless of the available number of CPUS/Cores.

But GIL is a non-issue in at least three ways:

1> Common automatically eliminates GIL Language Runtime /Java Virtual Machine (CLR/JVM)
IronRuby/IronPython/JRuby/Jython/MacRuby have “no GIL” issues, because they map corresponding “green threads” to CLR threads or JVM threads or native threads.

2> Asynchronous Programming Approach

Even if using pure Ruby/Python, using a library like Twisted (for Python) or EventMachine (for Ruby) eliminates GIL/concurrency issues.

3> Using Separate Libraries

Posted by Srinivasan Balram | No Comments
Microsoft .NET MicroFramework — Changing the Rules of Embedded Development Thursday, March 11, 2010

When I first saw the .NET MicroFramework a while back, I dismissed it thinking it’s yet another Microsoft ‘marketing gimmick’ for expanded Windows CE packaging! While I was appreciative of the NET CompactFramework, for me, it still ranked behind either Linux or J2ME.

But all this changed when a colleague sent across a note to take a second look at the .NET “MicroFramework” revision introduced in 2007.

Boy was I wrong! The .NET MicroFramework is a complete, miniature .NET stack that can run in an embedded environment with no Real-Time Operating System (RTOS) support and with just 300KB of memory! With such capabilities, NET MicroFramework can seriously impact BusyBox (Linux) as well as the entire RTOS market. It may not be much of an exaggeration to say that Microsoft has turned the world of embedded development upside down.

Bye Bye, VxWorks/Windriver, Micro C, and all the different flavors of embedded Linux.

“Absolutely no need for C/C++ any more even at the systems level.” A logical next step would be a miniature Dynamic Language Runtime (DLR) running on top of MicroFramework, with embedded development in Python & Ruby. This is the future!

2001- The typical compiled size of Busybox on the i386 architecture is 256K to 500K total for all tools, depending on the C library used and how it is linked.

2007 – The .NET Micro Framework running directly “on the metal” requires only about 300KB of RAM. A bootable CLR that can run directly on hardware without an operating system.

2010 – There is this JamVM for java @ 200K

Yes there is the JamVM, but the .NET Microframework has us looking at Microsoft and their stack in an entirely new light. This signals many things:

• ‘C’ is no longer the most ‘performance oriented’ language.

• By redefining the concept of frameworks and by eliminating the operating system (OS), Microsoft has effectively ended the Unix era!

• No OS needed!

• Oracle may own Sun, but Microsoft has prove that it doesn’t need to own a hardware platform to be a winner in the market.

• Microsoft will target Google, since it has won the war in embedded systems.

• The next battlefront is ‘Scalability’

2 major engineers who ‘disappeared’ into Microsoft:

Moshe Pasumansky – The inventor of MDX

John Lam – The inventor of IronRuby

Posted by Srinivasan Balram | No Comments
  Blogger Profiles
  Linked in
  Marlabs on
  Follow us
on Twitter
  Read our Feed