Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does GridShell use SIMD instructions ? #11

Open
sviscapi opened this issue May 6, 2024 · 1 comment
Open

Does GridShell use SIMD instructions ? #11

sviscapi opened this issue May 6, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sviscapi
Copy link

sviscapi commented May 6, 2024

Hello @invpe ,

I stumbled upon that article this morning:

https://bitbanksoftware.blogspot.com/2024/01/surprise-esp32-s3-has-few-simd.html

Could GridShell make use of those SIMD instructions ?

Best regards,

Samuel

@invpe invpe added the question Further information is requested label May 7, 2024
@invpe
Copy link
Owner

invpe commented May 7, 2024

Interesting finding, definitely it CAN use in the future, thanks for sharing 👍

In it's current shape, GridShell is using a scripting (interpreted) language to execute tasks. This isn't super efficient as you know but is very simple to implement for proof of concept purposes.

When planning to expand further - with enough support, the currently used solution could be dropped for other specially crafted language that would support and squeeze all the juice from these small micro controllers.

Also, the current way of writing a task is simple due to the nature of the "BASIC" language syntax. Since we're using mybasic today, pretty much in it's raw form, it is known to be a choice that balances ease of use with performance. This is however a subject to a change or optimization in the future, as already some of the tasks run 40k times faster in native C as compared to the mybasic interpretation on ESP32.

Many things to tackle, only two hands on the deck 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants