New c-style OOP scripting framework and IDE
Posted: Thu Nov 22, 2018 6:20 am
Hi everyone,
I am making a script solution to implement my ideas into chip easier.
Key features:
1 - Good IDE
Usb connect and play, Click and run script in 1 second , Save as startup script without PC connected.
CPU/Memory/Network status monitoring, Log output , Fixed position Text/Image output.
2 - Powerful scripting language
C-Style , weak/strong type , closure , class/function/delegate , class inside function , function inside class
virtual/override OOP , property getter/setter, JSON , Binary serialization
try/catch/finally , exception stacktrace and line number ,
Eval script string, Asynchronize programming, Multi-Task programming , foreach keyword for list/dict
Work with custom c++ code, pre-compile into C++ code for obfuscation and better performance .
Object destruction callback , Object attached dictionary , .... etc ....
3 - Memory (WROOM):
Spend 55K memory when startup, and 260K free for play ideas.
Spend 38K for WIFI+LWIP , 220K free for client/server.
Spend 30-40K for Http library , 180K free for fast Http client/server scripting
4 - IO:
GPIO/PWM/SPI , tested 320x240 TFT as 16 FPS , need more time for others
5 - Network Performance
Big Buffer: WROOM 900KB/s , WROVER 1.5MB/s
(Depend on the buffer setting in menuconfig)
Small Buffer: about 18 socket connection + 330 http keep-alive requests per second .
Tested 12 connections in WROOM
------
Now It works and stable, just still need 3-4 months to finish more libraries.
Will be available at 2019
I am making a script solution to implement my ideas into chip easier.
Key features:
1 - Good IDE
Usb connect and play, Click and run script in 1 second , Save as startup script without PC connected.
CPU/Memory/Network status monitoring, Log output , Fixed position Text/Image output.
2 - Powerful scripting language
C-Style , weak/strong type , closure , class/function/delegate , class inside function , function inside class
virtual/override OOP , property getter/setter, JSON , Binary serialization
try/catch/finally , exception stacktrace and line number ,
Eval script string, Asynchronize programming, Multi-Task programming , foreach keyword for list/dict
Work with custom c++ code, pre-compile into C++ code for obfuscation and better performance .
Object destruction callback , Object attached dictionary , .... etc ....
3 - Memory (WROOM):
Spend 55K memory when startup, and 260K free for play ideas.
Spend 38K for WIFI+LWIP , 220K free for client/server.
Spend 30-40K for Http library , 180K free for fast Http client/server scripting
4 - IO:
GPIO/PWM/SPI , tested 320x240 TFT as 16 FPS , need more time for others
5 - Network Performance
Big Buffer: WROOM 900KB/s , WROVER 1.5MB/s
(Depend on the buffer setting in menuconfig)
Small Buffer: about 18 socket connection + 330 http keep-alive requests per second .
Tested 12 connections in WROOM
------
Now It works and stable, just still need 3-4 months to finish more libraries.
Will be available at 2019