Espruino 1v94 released! #141
Replies: 10 comments
-
Posted at 2017-08-29 by @yerpj
Cooool! (1)
Cooool! (2) getting closer and closer to release 2.0 !!:-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @allObjects ...greatly appreciated! Espruino is always moving forward! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @allObjects Expansion - seeed's Wio Tracker - LTE CAT1... the references of Espruino on their site though are practically absent... I noticed that @opichals has contributed... I hope that the expansion is not just a distraction on multiple levels... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @allObjects About items in this release:
I understand why, but it makes problem determination a bit more difficult, because sequence between user logging and system logging falls apart; does it?
What is the notice now?
...I assume typed arrays...
...great... this threw me some curve balls in the past (now gona-go fix the fix in my code), but the workaround was not that bad... What I'm looking for in this area is an option in I understand why hiding makes things more fluent... but at the same time also more fluid..., such as:
How is this information now passed on to monitoring applications? Is there an option to put watches on such events / flags? I'm thinking also about
It is helpful to get this information. Option of adding |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @gfwilliams To be fair, the same as with Ruuvitag, Seeed are actually paying me a monthly fee to keep their board in the repo and produce builds for them. It's not a lot, but it covers my time making sure the builds always stay working - and is less than it'd cost them to pay an engineer to do the same. There are only two companies doing it at the moment, but it's a big win for everyone. People get up to date builds for their boards, and we don't end up with what happened with RedBear where they came up with a firmware for the KickStarter and then never made any new builds. We'll see - if more people do it, it could really help to increase Espruino's reach in a more sustainable way :) Realistically I think Seeed will update their documentation soon, but if they choose not to mention Espruino much on their site it's really only them that loses out :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @allObjects @gordon, thanks for this clarifying - transparent - post. In deed, I notice more an more makers exploring Espruino from all kinds of corners, because moving up for coding in a much more application oriented language/IDE/context increases fun. Most projects aren't anyway of the the sort where timing / bit-banging does decide over life and dead. And even if a project includes such things for some areas, Espruino does handle it under the cover... I need only to mention the hardware/software event queue... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-29 by @gfwilliams
The errors that get reported are those from If it is an issue, you can still track it down by adding
It's the same error as before. It just doesn't also tell you that there was a filesystem error (which is a bit of a red herring if you have no SD card!).
Just do However in many cases that may not save you much memory at all, since in JS a function has to have access to the scope it was defined in - so if you've kept any function at all, it'll stop that whole module from being freed.
Check out the You get
Potentially there could be an |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-09-11 by @allObjects
In my case it was a lot of human readable data and thus quite verbose that gets binary-ized and stored in vars on execution of
In the spirit of Espruio's event driven-ness, I'm surprised... I would like to have something like that... because I do not want to put try/catches around the code or ask for error flag after execution/call of code that could set any of these flags, but it would be nice to be able to hold on / get notice of the even. It is good for monitoring that status / health of an app. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-09-12 by @gfwilliams
It is automatically executed when you run This is done on a linux-based Espruino so the memory usages might be different, but you get the idea.
Removing the module from the cache saves just one memory block - the one with the module's name in. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-09-13 by @allObjects I hear what you are saying... Perception is not always 'Reception' - last but not least because you made Espruino much more memory efficient. - I'll go back and provide feedback comes time to touch on that subject again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-08-29 by @gfwilliams
Espruino 1v94 has just been released! It features a whole bunch of changes that should improve speed and reliability, on all boards:
Improvements
E.enableWatchdog
E.on('init',...)
now executed beforeonInit
(allowing modules to init before they can be called by the user)require
dumping filesystem errors as well as 'module not found'process.memory()
now reports time taken for GC and vars GC'dreset
.reset(true)
will now cause all Flash memory to be cleared as well.Fixes
require
creating an undefined Module entry in the modules list if no module existsFor a full list of changes with their bug numbers, check out https://github.com/espruino/Espruino/blob/RELEASE_1V94/ChangeLog
Beta Was this translation helpful? Give feedback.
All reactions