They are very much a publicly funded corporation, so everything they do has to fit with that.
3,514 karma · joined September 7, 2014
They are very much a publicly funded corporation, so everything they do has to fit with that.
I think that I'll be doing something similar ;-)
I assumed that the PXT worked the same as MicroPython, but it seems like it actually compiles directly to machine code, nice!
Yep, that's exactly my programming history!
> The UK 8-bit market was one of the biggest economic helpers the country has had in generations. We then went about squandering it.
Yeah, such a shame that happened. I wonder why?
But yes, I guess I should've extended it a bit :-)
> Programmable - The device must be reprogrammable
> Simple to program - via a graphical browser based UI
> Small - maximum 5cm x 5cm
> Cheap - manufacture cost must be approximately £2 or less when produced in large scale - for example batches of 100,000 units
Also take a look at some of the ideas on this page, http://microbit.org/ideas/projects/.
(thanks for the info about 'littlebits', I'd not heard about that, taking a look now)
But, have you ever watched a kid use one and within 5 mins be able to have their name scroll across the screen or make a simple Paper/Scissors/Stone game using the accelerometer? They get pretty excited about it!
So without asking Don Syme himself we can only guess.
> I'm not sure if fullblown .Net CLR implementation was released yet
No and AFAIK they don't plan to. There's 'Reference Source' [0], but that's the Base class libraries only, not the CLR itself.
[0]: referencesource.microsoft.com
(I love a good pun!!)
I did a quick search in AppDomain.cpp [0] for 'generic' and there's quite a few comments/variables that mention it. Maybe this [1] is one of the tricky interactions?
[0]: https://github.com/dotnet/coreclr/blob/master/src/vm/appdoma... [1]: https://github.com/dotnet/coreclr/blob/master/src/vm/appdoma...
Yeah I suck at maths, according to this comment https://lobste.rs/s/j4545s/dos_attack_against_c_compiler#c_n..., it's actually 'double exponential'
> When it really is not obvious at all what is going on.
Yeah, I guess I actually meant to say 'it's very obvious that it's increasing quickly', but as you say, it doesn't read like that!!
But either way, I'm glad you enjoyed it.
> As someone who used to spend a lot of time in C++ and LTCG I got a good laugh out of this(aside from the crashing part, ICE are always a bad thing). Our release link was ~40 minutes on each change.
A long time ago I did some C++, so I know it can take longer, although I don't think I ever worked on something with 40 min build times!
r.e. 'JIT v Interpreted', I should've checked wikipedia, it backs up what you're saying:
> Most often this consists of translation to machine code, which is then executed directly, but can also refer to translation to another format
Here's my questions (assuming you can remember from 6+ years ago):
1) What was the hardest part of .NET to understand and/or implement?
2) Were there any surprising things about the .NET runtime/specification that you learnt about along the way?
3) Should JIT.c really be called Interpreter.c :-)
What about if people read it, found it thought provoking, but didn't have anything to add, to discuss?
I deliberately didn't start with Benchmarks, pretty much for that reason! Plus I put a huge caveat in before I showed the results.
> This article is right, the DotNetAnywhere code really seems a gem, well worth to study!
Glad you think so as well, that's exactly the reason that I wrote about it. It's relatively unknown and if nothing else it's a really useful resource (whether it's suitable for production is another matter)
At least in the simple tests I did it behaved as expected, but I know that testing a GC for correctness is not a simple task!!
Which memory issues do you mean? The items that are covered in this section http://mattwarren.org/2017/10/19/DotNetAnywhere-an-Alternati... ('Garbage Collector') or something else?
I've just updated the post, 'log4net' makes in into the top 10 now.