News for hackers. Stuff that matters.
Re:The State of Go: Where we are in February 2016 by blakeyrat on Wednesday February 03, 2016 @04:10PM (#11029787)
There are a heck of a lot games written in C#, which is not only interpreted, but probably has a less-tuned GC. Including heavy-processors like Kerbal Space Program.

If KSP works in C#, you can write a game in Go no problem.

Re:The State of Go: Where we are in February 2016 by djur on Wednesday February 03, 2016 @04:44PM (#11030008)
C# is not interpreted, and the CLR has a generational GC on par with the JVM. Many C# games are built on game engines like Unity which are implemented in C++, anyway.
Re:The State of Go: Where we are in February 2016 by masklinn on Wednesday February 03, 2016 @05:25PM (#11030349)
> C# is not interpreted

Unless you're asserting that e.g. Python is not interpreted; or you're using the relatively recent native toolchain, C# is interpreted. That's its original state and its widest deployment pattern.

Re:The State of Go: Where we are in February 2016 by gecko on Wednesday February 03, 2016 @05:42PM (#11030472)
You're misinformed, I suspect because you are conflating .NET programs being distributed as bytecode with .NET programs being interpreted.

It is true that .NET programs are traditionally distributed as CLR bytecode. This is similar to a .class file or a .pyc file. But the CLR does now, and always has, had a JIT. E.g., the first line or two of https://msdn.microsoft.com/en-us/library/ht8ecch6(v=vs.71).a... , which is for .NET 1.1, which explicitly states that, even at that time, the bytecode is JITed prior to execution.

Re:The State of Go: Where we are in February 2016 by masklinn on Wednesday February 03, 2016 @06:32PM (#11030809)
> You're misinformed, I suspect because you are conflating .NET programs being distributed as bytecode with .NET programs being interpreted.

No and no.

> But the CLR does now, and always has, had a JIT.

And Python has had a JIT[0] for as long as the framework has existed.

[0] https://en.wikipedia.org/wiki/Psyco now replaced by the pypy project

Re:The State of Go: Where we are in February 2016 by Locke1689 on Wednesday February 03, 2016 @07:43PM (#11031142)
.NET is JIT'd in its most popular form, the .NET Framework.

Python is interpreted in what was its most popular form, but may not be now, CPython.

This is using the definition of a JIT as an execution engine which takes in some form of bytecode and, at runtime, emits architecture-specific assembly code to a page, marks that page executable, and changes the IP to that page.

If CPython executes in that manner then I'm mistaken about CPython's execution engine and would also consider CPython to be a JIT.

Re:The State of Go: Where we are in February 2016 by heinrich5991 on Wednesday February 03, 2016 @07:42PM (#11031136)
Python doesn't have a JIT by default (CPython, the reference implementation). Does the same apply to .NET?
Re:The State of Go: Where we are in February 2016 by pjmlp on Thursday February 04, 2016 @02:59AM (#11032613)
.NET as distributed by Microsoft:

- JIT and AOT compilation via NGEN up to .NET 4.5.2

- Starting with .NET 4.6, RyuJIT which uses the Visual C++ backend and exposes SIMD support to .NET languages

- When targeting Windows 8 and 8.1, AOT compilation to native code in a format called MDIL. Basically requires dynamic linking on device, everything else will be native code already

- When targeting Window 10 store applications onwards, AOT compilation to static executables

- .NET Compact Framework also always JITs

- .NET Micro Framework is the only one that does interpret MSIL

Also Microsoft .NET JIT compilers, with the exception of the .NET Micro Framework always jit the code, there is no threshold to trigger it like on most JVMs.

Re:The State of Go: Where we are in February 2016 by bboreham on Wednesday February 03, 2016 @06:01PM (#11030597)
What are you talking about? .Net is compiled to native code on load. (Or earlier)
Re:The State of Go: Where we are in February 2016 by blakeyrat on Monday February 08, 2016 @02:45PM (#11060407)
Did I get down-voted because some OTHER person started a dumb argument about interpreted vs. compiled in my thread? Awesome.