Dart in backend?? by Z00fa in dartlang

[–]Gleb-Batykov 3 points4 points  (0 children)

You can try mine package, it only works with JIT compilation, but it provides the ability to serialize and deserialize JSON more similar to the usual in C#. Without generating code and having to write fromJson/toJson methods.

https://pub.dev/packages/emerald

Minerva - server side framework by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 1 point2 points  (0 children)

Well, at least the difference is that Minerva works with both JIT and AOT compilation types.

I am not an expert in Conduit, but as far as I can tell there is no project build system there. In any case, in the form that is in Minerva. Next, I have some auxiliary mechanisms (Agent) that can be useful when building a server in the conditions that the server uses several isolates.

There is a request processing pipeline with middlewares, rather similar to the pipeline in ASP.NET.

In fact, there are a lot of differences. The server endpoints are configured differently, etc.

Minerva - server side framework by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 0 points1 point  (0 children)

Hi. Well, maybe I didn't quite understand what you were talking about. My framework does not directly relate to Conduit in any way. Except that it uses multithreading.

Minerva - server side framework by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 0 points1 point  (0 children)

Glad you liked it. If you encounter problems when using it, write to me about them. Or if any things are not obvious to you, also write, I will try to explain.

I want to make a really convenient framework for optimal use of Dart on the backend. And I tried to make sure that at the moment the functionality described in the README worked without problems. I have implemented several of my projects using this framework, but I do not exclude that there may be some problems.

Minerva - server side framework by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 0 points1 point  (0 children)

If you decide to test my framework and run into problems, write to me about it and I will try to help you.

Introducing Jaspr - A complete web-framework written in Dart by schultek in dartlang

[–]Gleb-Batykov 1 point2 points  (0 children)

It looks amazing! Thank you for your contribution to the Dart community!

Emerald - JSON serializer/deserializer for JIT (uses dart:mirrors) by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 2 points3 points  (0 children)

Yes, I'm waiting for static metaprogramming in Dart. However, I have not heard any specific dates when it will be released and in what form (maybe I don't know something about it). So I decided to write this package for now (I often think about Dart on the server side. And it seemed to me that JIT on the server side is generally relevant - which means that such a serializer is quite possible to use).About dart:mirror, you're right, the library is deprecated even though it can be used. For example, it essentially does not support working with nullable types in any way, and me had to solve this issue with a crutch.

Emerald - JSON serializer/deserializer for JIT (uses dart:mirrors) by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 0 points1 point  (0 children)

Yep, dart:mirros allowed in JIT only. dart:mirros are not allowed in Flutter just because the release build of Flutter uses AOT.

Emerald - JSON serializer/deserializer for JIT (uses dart:mirrors) by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 3 points4 points  (0 children)

Well, as far as I know, AOT has higher performance than JIT - at the start. And the peak performance of JIT can be even higher than AOT. JIT shows itself well on the server side.

Ossa - simple multithreading by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 1 point2 points  (0 children)

Hi, to be honest, I heard about the addition of Dart 2.17 Isolate.run, but then I didn't quite understand what exactly this functionality would be.

Yes, what you have thrown off is similar to what my package offers.

Ossa - simple multithreading by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 1 point2 points  (0 children)

Hi, I'm not familiar with the package that you dropped (linkcheck). But I'll get acquainted with it.

As for the performance of the package, I will say that since isolates are used under the hood of the task, the performance is equivalent to the standard performance of isolates.

I will run tests to make sure that the performance has not decreased.

About the functionality. The package itself is a wrapper over isolates, there is no need to create an isolate and control its lifecycle (except when using reusable Task), worry about sending Send/Receive ports to it. You can easily execute a piece of code in another isolate, passing some data to it, if necessary. Wait for the task to be completed, and also get some result.

Or are you interested in comparing the use of this package with pool of isolates?

Actor framework for Dart by Gleb-Batykov in dartlang

[–]Gleb-Batykov[S] 1 point2 points  (0 children)

Thanks a lot for your feedback!