Live data from Hacker News

Infrastructure as code

alexgallego.org

21–23 of 23 posts

Re: Infrastructure as code

#22
post #3

It's a nice line of thought, but I think there's a lot of existing work that's should be investigated. Essentially, it seems like another "wouldn't it be nice if everything were written in $LANG, even the OS?". Erlang is mentioned as an example, since its VM certainly offers many features we'd like from an OS. Maybe comparisons to Smalltalk, LISP machines and even regular UNIX shells should be offered. It's likely th…

> Essentially, it seems like another "wouldn't it be nice if everything were written in $LANG, even the OS?". In all honesty, I'm not sure you read the article. The entire point is the idea to deploy tiny chunks of code, independently, in any language.

> The entire point is the idea to deploy tiny chunks of code, independently, in any language.

What does "tiny chunk of code" mean? According to the article:

> Literally, a simple interface that did one (or very few) things well.

Hmm, sounds like the UNIX philosophy to me. Operating on code in a language-agnostic way? Sounds like scripting to me...

> What if instead you could deploy classes.

Classes are a language feature, so this looks to be asking for an alternative scripting language.

> What if your operating system was in a way an API to deploy services (it is!) > but the size of the code deployed was so small that it would in turn be hard > to make mistakes.

That's the point of UNIX: do one thing and do it well; compose the pieces using scripts.

Of course, UNIX is not perfect, it's just an obvious comparison. I mentioned a few others above. That's what I got from the article, after squinting through the jargon ("deploy" instead of execute, "services" instead of processes, etc.)

Re: Infrastructure as code

#23

I don't get it. Is that yet another CORBA clone? I think the CORBA clone currently in fashion is SOAP (or did we get something newer?). There probably are SOAP tools for Earlang, and you'll really get the possibility of using an heterogeneous system, like you said you'll want. Yet, those things never work so well as people think they should. Keeping interoperability within a code-base is hard work, distributing it ju…

> I don't get it. Is that yet another CORBA clone? Happy to explain what you don't get. Definitely not a CORBA clone.

What I don't get is exaclty this. What's the difference of this to remote procedure calls?
Post reply on HN