Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development
    • IT Management
    • Servers

    Inside IronJS: Behind the JavaScript to .NET Project

    Written by

    Darryl K. Taft
    Published January 28, 2010
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      IronJS is an open-source project working to deliver an implementation of the popular JavaScript Web development language to the Microsoft .NET Framework. Fredrik Holmstrom, a programmer in Gothenburg, Sweden, created IronJS as part of a larger project he is building out. Holmstrom said he uses C# and JavaScript for his professional work, and a mix of F#, Python and Clojure for his “hobby” work. With support for dynamic languages such as Python and Ruby being a popular topic among developers, Holmstrom spoke with eWEEK Senior Editor Darryl K. Taft about his project.

      How did you come up with the concept for IronJS?

      Basically the idea sprung up over a year back when I started playing around with CouchDB and realized how much JavaScript actually is in use today-both on the client and server parts of the Web. But the core business logic was never written in JavaScript-which creates a sort of mismatch between the client/server/database and results in a lot of duplicate functionality and an (often homegrown [or] project-specific) way to communicate between the server and client. And this is done with some arbitrary specified JSON [JavaScript Object Notation], usually.

      I really saw an opportunity here to build something that would allow you to run JavaScript on the server, still have access to a big base library and use the same language as the client. I started researching into the subject several times during the last year, but I always got sidetracked. However, about three weeks ago I really set my mind on actually getting it done. I downloaded the DLR [Microsoft Dynamic Language Runtime] sources from CodePlex and started hacking, first following the tutorial language (called SymPL) to get a feel for how the DLR works. Then I dug into the IronRuby source code (which is a bit more manageable than the IronPython source, which is insanely huge) to get a really good feel of how to implement a language on top of the DLR.

      All in all, it’s taken me about three weeks to get to the current state of IronJS, which is a real testament to how awesome a piece of technology the DLR actually is.

      How far along are you in terms of putting it out as a 0.1 release?

      The current main branch on GitHub is usable, but barely (which I’ve labeled as 0.1-alpha). A somewhat usable 0.1 release is about three to four weeks away, I would say.

      Is IronJS open source?

      Yes, it is. It’s released under the GNU General Public License v3.

      What’s your day job?

      My day job is at CP+B Europe (www.cpbeurope.com) which is the European branch of Crispin Porter + Bogusky (www.cpbgroup.com). I work as a .NET developer doing mostly back-end stuff for various Websites.

      I see where you said all your professional work is done in C# and JavaScript. What do you work on primarily?

      As I stated previously, I do mostly back-end stuff for our various clients; [it] ranges from small ad campaigns to full-blown six-month, full-time projects. My professional work has shifted from C# [and] JavaScript to mostly C# with some PHP for good measure.

      Why the varied mix of F#, Python and Clojure for your hobby work?

      This is a hard one. I would say that this is mostly about the fact that I enjoy using programming languages that teach me something other than their syntax-F# has its roots in OCaml and ML, which preaches a specific way of functional programming. Clojure is a Lisp [derivative], as you might know, and the s-expressions are a very nice way to express some problems. Python just happened to be a really nice mix between C, Lisp and scripting.

      Other than IronJS, what other hobby work are you involved in?

      At the moment I have two projects that are on hiatus, they are actually just waiting for IronJS to get to a stable enough state that I can start basing the scripting functionality of them on the IronJS run-time-this is also one of the main forces behind my motivation to build IronJS, I really needed a JavaScript run-time on .NET that fulfilled three main goals, to be: one, free and open source; two, fast; [and] three, actively developed.

      And after searching for a month or so I gave up trying to find one and decided to teach myself the DLR and write my own. I’m still a bit secretive about my two other projects, but they will be publicly available on GitHub once the time comes.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×