The shoutbox is currently out of service. Join us on Discord instead.

Duktape - A JavaScript interpreter for the Nspire [ti-nspire]

Started by Legimet, February 04, 2015, 03:01:18 am

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

DJ Omnimaga

Quote from: Cumred_Snektron on March 24, 2015, 04:52:34 pm
And you didn't get another cup? Wow..
Also i missed my 666th, 700th and 777th post, so yeah

I missed my 55555th post on Omni twice (there was a stats recount so my post count went under 55K after the first time I hit 55555)

Anyway let's not hijack Legimet's thread any further now. ;)

Adriweb

Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga


alexgt

Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)

Awesome, time to learn some JS :P

Snektron

Quote from: alexgt on June 22, 2015, 01:33:45 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)

Awesome, time to learn some JS :P


Its literally one of the easiest languages :P (if you exclude the cross html part, but even that)
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DarkestEx

Quote from: Cumred_Snektron on June 22, 2015, 03:51:57 pm
Quote from: alexgt on June 22, 2015, 01:33:45 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)

Awesome, time to learn some JS :P


Its literally one of the easiest languages :P (if you exclude the cross html part, but even that)

Haha, not in life. :P
JS is one of the most brainf*cking languages I ever, ever used (aside from the Android ADK, which is not really a language; Java itself is quite easy though).
Even Assembler is easier than JS IMAO.

Legimet

Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)


Yes, and you can download it here: https://tiplanet.org/forum/archives_voir.php?id=153555 :)

alexgt

Quote from: Legimet on June 23, 2015, 03:53:43 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)


Yes, and you can download it here: https://tiplanet.org/forum/archives_voir.php?id=153555 :)

Is that the finished version?!

Adriweb

Well you can see the archive got updated a few days ago, so yep :)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

alexgt

Quote from: Adriweb on June 23, 2015, 06:39:59 pm
Well you can see the archive got updated a few days ago, so yep :)

Awesome! I am not used to Ti-planet's layout :P

DJ Omnimaga

Quote from: DarkestEx on June 22, 2015, 03:53:47 pm
Quote from: Cumred_Snektron on June 22, 2015, 03:51:57 pm
Quote from: alexgt on June 22, 2015, 01:33:45 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)

Awesome, time to learn some JS :P


Its literally one of the easiest languages :P (if you exclude the cross html part, but even that)

Haha, not in life. :P
JS is one of the most brainf*cking languages I ever, ever used (aside from the Android ADK, which is not really a language; Java itself is quite easy though).
Even Assembler is easier than JS IMAO.
I wouldn't go as far as saying that ASM is easier than JS, but it's definitively easier to read for particularly complex stuff. JS code will just stop working for unexplained reasons and it's a major PITA to debug.

I dropped off my college major partly because of JS. When it became clear I just wouldn't get it and that I would have to use it on a regular basis in the future, I called it quit.

Quote from: Legimet on June 23, 2015, 03:53:43 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)


Yes, and you can download it here: https://tiplanet.org/forum/archives_voir.php?id=153555 :)
Glad to see an update. :)


Adriweb

Quote from: Ivoah on June 26, 2015, 05:30:05 am
Quote from: Legimet on June 23, 2015, 03:53:43 pmyou can download it here: https://tiplanet.org/forum/archives_voir.php?id=153555 :)


I'm surprised at how much slower it is than micropython. Is there a specific reason?

Yes (edit: well, this is for a recursive fibonacci, so not exactly the same issue(s) I believe):
Quoteruns slower than Lua or Python due to a specific  known issue in Duktape

(quote from the upcoming article)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Snektron

Quote from: DJ Omnimaga on June 26, 2015, 05:27:44 am
Quote from: DarkestEx on June 22, 2015, 03:53:47 pm
Quote from: Cumred_Snektron on June 22, 2015, 03:51:57 pm
Quote from: alexgt on June 22, 2015, 01:33:45 pm
Quote from: Adriweb on June 22, 2015, 05:07:22 am
Bump.
The article is almost ready now, with additions and changes from Legimet and myself - it should be released relatively soon :)

Awesome, time to learn some JS :P


Its literally one of the easiest languages :P (if you exclude the cross html part, but even that)

Haha, not in life. :P
JS is one of the most brainf*cking languages I ever, ever used (aside from the Android ADK, which is not really a language; Java itself is quite easy though).
Even Assembler is easier than JS IMAO.
I wouldn't go as far as saying that ASM is easier than JS, but it's definitively easier to read for particularly complex stuff. JS code will just stop working for unexplained reasons and it's a major PITA to debug.

I dropped off my college major partly because of JS. When it became clear I just wouldn't get it and that I would have to use it on a regular basis in the future, I called it quit.


O.O i really didn't have any trouble learning JS. Also i get the feeling everything with web programming is just a bit... eh. I mean, everyone is bashing Java web, action script, flash, PHP, etc. Things like HTML and CSS just fall apart when you look at it... Maybe i've been doing it wrong but it just feels a bit eh imo.
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Legimet

Here's the article: https://tiplanet.org/forum/viewtopic.php?f=43&t=16900

Quote from: Ivoah on June 26, 2015, 05:30:05 am
I'm surprised at how much slower it is than micropython. Is there a specific reason?


The main reason is that Duktape doesn't have a JIT like Micro Python. However, Sami Vaarala, the developer, is gradually rolling out performance improvements so that should help. :)

Powered by EzPortal