Skip to content

Compiler multi threading support#2240

Merged
pgrawehr merged 437 commits into
dotnet:mainfrom
pgrawehr:Compiler_MultiThreading
Jan 8, 2024
Merged

Compiler multi threading support#2240
pgrawehr merged 437 commits into
dotnet:mainfrom
pgrawehr:Compiler_MultiThreading

Conversation

@pgrawehr

@pgrawehr pgrawehr commented Dec 16, 2023

Copy link
Copy Markdown
Contributor

Various updates to the Arduino Compiler:

  • Supports latest .NET 6.0 SDK/Runtime
  • Supports multi-threading (tasks, threads, including async calls)
  • Added many low-level functions, in particular for file I/O
  • Improved memory management

Known issues:

  • The new version appears to be quite a bit slower than the old one, reason is unclear
  • Use of PSRam isn't working properly yet
Microsoft Reviewers: Open in CodeFlow

pgrawehr and others added 30 commits May 2, 2021 14:55
The original implementation works just fine
Causes wrong temperature readings
…poses

This code from the System library implements the number formatting.
Following the code makes it a lot easier to debug EE errors (such as
missing sign extensions)
But seems to require proper try/catch/finally support,
otherwise files are not closed.
By first only checking the name, method comparison is
significantly faster (up to 10 times)
@pgrawehr pgrawehr force-pushed the Compiler_MultiThreading branch from 9d0fc7d to d9cb6e9 Compare December 17, 2023 10:34
@pgrawehr pgrawehr marked this pull request as ready for review December 17, 2023 14:46

@Ellerbach Ellerbach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of work placed here and not easy to review! All up, it seems good to me.

@pgrawehr pgrawehr merged commit a5d57ad into dotnet:main Jan 8, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants