Live data from Hacker News

Nim – Natively compiled language with hot code-reloading at runtime [video]

youtube.com

111–118 of 118 posts

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#111
post #110
post #48

Earlier quoted context omitted.

Luckly not everyone thinks like that. http://www.astrobe.com/default.htm https://www.wildernesslabs.co https://www.ptc.com/en/products/developer-tools/perc

It's great that there are a few projects that enable writing software for embedded devices in some languages you don't usually see in the space, but projects like this do not suddenly make the lang a 'systems language'. You wouldn't want to write an OS in Java or C# or any language with a GC & runtime really. Nerves is also a wonderful project, enabling the use of elixir for IoT devices, but nobody would claim elixir…

Microsoft actually created an experimental managed OS: https://en.m.wikipedia.org/wiki/Singularity_(operating_syste...

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#112

+1 for Nim. I'm dreaming some day to see a RAD where Lazarus generates Nim code with full LCL support; that would be a truly killer dev system for desktop apps. Lazarus is already a wonderful RAD, one can build native apps on a *PI board and run them directly on that target; Nim support would make it even greater.

> I'm dreaming some day to see a RAD where Lazarus generates Nim code with full LCL support

What does LCL stand for in this context?

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#113
post #86

Earlier quoted context omitted.

Minor nit. Every language you mentioned with a GC is not a systems language.

Go is a systems language. The term isn't confined to device drivers. It includes platform/backend software such as web servers and things like message queues or the Docker ecosystem. The term is nebulous though.

Wrong. A system language should at least build shared objects for other languages. Nim can, Go cannot.

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#114
post #81

Earlier quoted context omitted.

Don't know about Smalltalk but there are numerous CL compilers...

Smalltalk is compiled to bytecode.

Smalltalk is a family of dialects and implementations. Most of them are indeed compiled to bytecode which is then executed by a JIT VM. Most of them use the "image" concept where you are always in runtime like in a classic Lisp, and yes, the VM handles shape changes etc etc. But some Smalltalks actually have other characteristics, like non JIT or even compiling via C (Smalltalk/X does that I believe).

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#115
post #94

Earlier quoted context omitted.

I don't think you understand what real time programming is.

Enlighten me, please. https://www.aicas.com/cms/rtsj http://blogs.windriver.com/wind_river_blog/2017/05/java-on-v...

Real time programming requires you to be able to make hard guarantees about how long a certain piece of code can run and what resources it uses.

This is literally impossible with a GC because you can only bound one resource (time or memory) at a time.

The best RTS languages are a pain in the ass to use because the compiler will complain about every single thing - cases that could go wrong with your code

They are used in mission critical (in all sense of the word) systems like spaceships - where a tiny bit of lag will send it thousands of miles in the wrong direction.

Those links you provided, one is a draft for a spec, it's not even implemented yet - and the other has nothing to do with real time languages.

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#116

Earlier quoted context omitted.

Look, a good systems language should have predictable assembly instructions that the code compiles into. You should be able to literally with your eye map from code to asm and jump back and forth in a systems level language. GC enabled languages don't have this property as the assembly would be littered with GC code to clean up things. You won't be able to map back and forth. You will note that rust advertises themse…

This is what I was looking for, and I truly believe you are completely wrong as well. I follow the line of thinking that includes utility software and backend services/platforms as described here: https://en.wikipedia.org/wiki/System_programming_language Hence, the word has different meaning from person to person. So there is no wrong, or at least it exists on a spectrum, and everyone complaining about the original c…

Mate you said:

> Real-time programming can be done in any language, Java for example

That's absolute bullshit. Please get a Computer Science education before making yourself look like a fool.

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#117

Earlier quoted context omitted.

This is what I was looking for, and I truly believe you are completely wrong as well. I follow the line of thinking that includes utility software and backend services/platforms as described here: https://en.wikipedia.org/wiki/System_programming_language Hence, the word has different meaning from person to person. So there is no wrong, or at least it exists on a spectrum, and everyone complaining about the original c…

Mate you said: > Real-time programming can be done in any language, Java for example That's absolute bullshit. Please get a Computer Science education before making yourself look like a fool.

Attacking another user like this will get you banned here. Please review https://news.ycombinator.com/newsguidelines.html and don't do it again.

Edit: we've had to warn you about this repeatedly. Please fix this so we don't have to ban you.

Re: Nim – Natively compiled language with hot code-reloading at runtime [video]

#118
post #117

Earlier quoted context omitted.

Mate you said: > Real-time programming can be done in any language, Java for example That's absolute bullshit. Please get a Computer Science education before making yourself look like a fool.

Attacking another user like this will get you banned here. Please review https://news.ycombinator.com/newsguidelines.html and don't do it again. Edit: we've had to warn you about this repeatedly. Please fix this so we don't have to ban you.

[deleted]
Post reply on HN