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

continuous issue : new ideas #619

Open
arakov opened this issue Sep 22, 2023 · 6 comments
Open

continuous issue : new ideas #619

arakov opened this issue Sep 22, 2023 · 6 comments
Labels
Feature request New language feature

Comments

@arakov
Copy link
Member

arakov commented Sep 22, 2023

  • compile type operator overriding
  • expression patters
  • DI
  • analog of C# record
  • switch expression
  • prefix nullable / nable - allow to assign nil
  • strong typed forward constant
  • internal / protected conversion : should it be supported (see system'Symbol conversion from pointer)?
  • interface mockup
  • async constructor
  • native actor/virtual actor model, like on elixir, to enable building fault tolerant and high scalable systems
@arakov arakov added the Feature request New language feature label Sep 22, 2023
@arakov arakov changed the title new ideas continuous issue : new ideas Sep 22, 2023
@bencz
Copy link
Member

bencz commented Apr 28, 2024

  • async constructor
  • ( just thinking ) native actor/virtual actor model, like on elixir, to enable building fault tolerant and hight scalable systems

@arakov
Copy link
Member Author

arakov commented Apr 28, 2024

Sure. I've updated, It is a list of possible ideas, so any idea is welcome

@bencz
Copy link
Member

bencz commented Apr 29, 2024

Well, the actor/virtual actor, is something that i think is realllllly awesome!!

Check this out: https://www.erlang-solutions.com/blog/heres-why-you-should-build-scalable-and-concurrent-applications-with-elixir/

At now, I'm using a lot at my current job, but, im using this framework, since here where are work, we use mainly c#

https://github.com/asynkron/protoactor-dotnet

Just to give a sample to you, i have developed a polling system, where each cell phone makes a request to this system every 5s + ack request if there is some message to the cellphone...
Before i migrate the system to protoactor, we are using redis, but, we start to get a bunch of errors with network and connection lost with redis... and, a high cpu usage in each POD, because we need to use distributed locks and so on, now, using virtual actors, we have a really stable system, using much less cpu and each request we got a time reduction of 30ms in each request!!

Per hour, this system handle about of 2 milion requests

But, to have an actor model, async/await, sockets, switchs, tasks and some other stuffs from this issue, is necessary

@bencz
Copy link
Member

bencz commented Apr 29, 2024

Attributes for classes, methods and properties

@arakov
Copy link
Member Author

arakov commented Apr 29, 2024

They are already supported: see testCase / info for classes / functions, dto_prop / info for properties.

@bencz
Copy link
Member

bencz commented Apr 29, 2024

Oh, ok!
I probably missed this update/implementation... after github migrated the dashboard, it became more difficult to see/track the commits :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New language feature
Projects
None yet
Development

No branches or pull requests

2 participants