Language:
switch to room list switch to menu My folders
Go to page: First ... 17 18 19 20 [21] 22 23 24 25 ... Last
[#] Tue Nov 24 2015 16:33:14 EST from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

btw, the choice of programming language is not directly related to the hardware platform. There used to be the satelite receiver D-Box for (now) SKY paytv which was running a java interpreter on the bare metal PPC.

in case of the esproino or cortex M3 boards (you can also buy $10 STM evo boards that are larger but with the same yC) you have to choose the environment when flashing the system - so its either esproino or one of the otther platforms.

But, yes, a c++ implemented kernel that embeds the interpreter is sort of a clever troll (which worked well ;-)



[#] Tue Nov 24 2015 18:12:59 EST from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


so, it's been a while, but maybe the LISP Machine was what you are talking about.

and is RPython self-hosting these days?

https://rpython.readthedocs.org/en/latest/

[#] Wed Nov 25 2015 11:08:06 EST from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

oh, and it seems there actually is what you claiimed:

https://github.com/NodeOS/NodeOS

lnux kernel as hardware driver layer plus a omplete nodejs userland.

... well.



[#] Fri Nov 27 2015 11:33:33 EST from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Node seems to be everywhere these days.  Clue me in here, is Node to JS what Tomcat is to Java?  Or do I have things mixed up?



[#] Sat Nov 28 2015 10:40:14 EST from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

yes, sort of. You have npm as package manager, grunt as build tool.

However, while tomcat has a multithreaded worker approach, node is doing event queue like we do for smtp, pop3 and rss.

This harmonizes well with .js, since they are used to only have a single thread in the browser too - so they have to work nonblocking there also.



[#] Tue Dec 01 2015 00:17:06 EST from ax25

Subject: Python (sans OS)

[Reply] [ReplyQuoted] [Headers] [Print]

Interesting talk on exploring UEFI and ACPI with Python:

https://us.pycon.org/2015/schedule/presentation/378/

Video is interesting at 22:50 :-)

http://biosbits.org

Kinda reminds me of booting old 8088 PC's directly to basic.



[#] Wed Dec 02 2015 16:37:06 EST from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


yeah, I don't know maybe the emphasis on threading is one of the things that Java got wrong... not every programmer is mentally ready for the idea that they have to be constantly vigilant for latent threading bugs (e.g. caused by shared variables that should not have been shared...) ***and that the only way to avoid these bugs is just to write the code correctly, you can't test for it***


In that respect, Java is still a Real Programmer's environment like C++... in most other respects, it's like a cute little sandbox toy ;-)

[#] Sun Dec 06 2015 08:59:02 EST from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Synchronize your main method, problem solved :)



[#] Thu Dec 17 2015 09:16:08 EST from zooer

[Reply] [ReplyQuoted] [Headers] [Print]

Wow....as a poker player I now have new nicknames I can give to players.



[#] Wed Dec 30 2015 14:59:51 EST from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


I'm doing some weird things in C++.

I have created a factory that uses a virtual function that takes any kind of output iterator and assigns objects to it.

That is... without using a template, since you can't do that with a virtual function. Using type erasure via a sort of 'any_output_iterator' object.

Combined with the header factory thing I did earlier this year, I feel like I'm edging into the stranger corners of this language.

[#] Thu Dec 31 2015 14:24:02 EST from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


sounds scary. in Java, an Iterator is almost, but not quite, read-only... you just couldn't do that.

[#] Thu Dec 31 2015 14:24:40 EST from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


(you could fake it via instanceof tests, but that is ugly)

[#] Thu Dec 31 2015 15:04:04 EST from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Yeah, I'm not sure how best to do this kind of weirdness in Java.

OTOH, you probably don't mix generic and object oriented programming in Java... it's all just object oriented. You take a performance hit, but otherwise the code probably looks a tad cleaner.

I'm not afraid of what I'm doing in C++, honestly. I feel confident. But, yeah, I have to aknowlege that these are weirder edges. My motivations are clean, and I know I'm doing what is right. It is because I'm trying to do the right thing that I find myself doing stuff that's a bit weird... it's like, if you don't pay too much attention to the stuff I wrote that looks strange, and focus instead on just trying to do what you need to do (following the examples that already exist), I've made your work much easier.

[#] Tue Jan 12 2016 04:27:31 EST from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

..and suddenly a cab driver replies to the github issue:

https://github.com/ContainerSolutions/minimesos/issues/188

 



[#] Tue Jan 12 2016 08:25:12 EST from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Heh... apologizing for being noise...

[#] Thu Mar 10 2016 10:12:40 EST from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

"FilePizza is an isomorphic React application which uses the Flux application architecture."

At some point we exited the world of software development and entered some weird hippie buzzword altered-state reality.  I'm just not sure when it happened.



[#] Sun Apr 03 2016 00:25:31 EDT from ryan42

[Reply] [ReplyQuoted] [Headers] [Print]

But is it non-blocking?

[#] Tue Apr 05 2016 13:36:21 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Or, maybe it's just asynchronous instead.

[#] Thu Apr 07 2016 00:56:21 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

Nah, pizza is parallel - just depends on who is in the room, and if they like mushrooms or pineapple.



Go to page: First ... 17 18 19 20 [21] 22 23 24 25 ... Last