Golang vs Node.js...

Status
Not open for further replies.

dkusek

Explorer
Joined
Mar 16, 2016
Messages
78
Im guessing this has already been discussed internally but was wondering if there was a reason FreeNAS isnt being written with Golang. From the VERY little research I am currently doing on this topic, it seems that a language that is both easy to write, highly scalable, and very efficient in decreasing build time while also mainly developed as a language for massive open source projects, that Golang would be the best option for FreeNAS.

Now before I go into further detail, I would urge anyone with a fairly concrete grasp on the situation to give me some insight here. I have a feeling, the deeper I go on this, the more compelling of an argument that will be made. Google searches can produce a few fairly recent articles so i understand that aspect. Im more interested in why, internally, the decision was made to stick with Node.JS.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'm not sure where you got your information, but it's inaccurate.

The OS is naturally written in C. Most of the FreeNAS stuff on top is written in Python. Node.JS is used in trivial amounts, if at all (I vaguely remember something, but no specifics), to interface with some weirder thing.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Also, node.JS and Go are as different as it gets. As different as Python and C (not that I wish to imply that Python is anywhere close to being the same disaster that javascript is).
 
Status
Not open for further replies.
Top