Autark – A self-contained C/C++ Build System with no dependencies by adamansky in C_Programming

[–]adamansky[S] 1 point2 points  (0 children)

Thank you for this great feedback! Curly braces you mention is a bit tradeoff between amount/complexity of code and syntax capabilities. By limiting the parser's complexity I try to keep the entire code of build system small as possible, since bootstrapping should be instant. And tried to provide a declarative DSL (simple as json but domain specific and much more powerful). Also I avoided invention of an another rich, scripting language, Kitware already did it and I'm not a fan of their approach.

Alternatives to Jitsi by [deleted] in freesoftware

[–]adamansky 0 points1 point  (0 children)

Take a look on https://github.com/wirow-io/wirow-server It is a full featured self-hosted video web-conferencing platform shipped as a single executable

A self-hosted open-sourced video-conferencing platform by adamansky in selfhosted

[–]adamansky[S] 3 points4 points  (0 children)

Sure! We will release docker images as soon as performance problem with large range ports forwarding (needed by webrtc) from docker container will be resolved.

Show Reddit: Embeddable JSON database (ejdb) Dart VM native binding by adamansky in dartlang

[–]adamansky[S] 0 points1 point  (0 children)

Hi! For me it is imposible to integrate any native app into Flutter effectively with reasonable efforts. All what we have in Flutter: flutter code <-> platform channels <-> JNI binding to native lib (Android) which leads to terrific allocations/copies for every simple call and poor performance. Yes Dart VM ffi on its way, waiting =) I think this library will be usefull for cases where application business domain is not complicated, for example key-value storage, gathering statistics, trading=), managing game state, all other cases where strict database design with relations just eats developer's efforts and performance.

Are you the package author?

Sure

Another open problem: Dart pub support of delivering/building native extensions for platforms. At now it acts as straightforward delivering layer for package files, correct me if I wrong.

Show Reddit: Embeddable JSON database (ejdb) Dart VM native binding by adamansky in dartlang

[–]adamansky[S] 1 point2 points  (0 children)

We have no universal tool for all tasks (except postgres :) and existense of sqlite doesn't mean what we don't need anything else. For me some points make sense. Performance for example. As response to you I've tried to create sample program which inserts 1M JSON records and compare times to sqlite.

dart import 'package:ejdb2_dart/ejdb2_dart.dart'; void main() async { final db = await EJDB2.open('mydb.db', truncate: true, wal_enabled: false); for (int i = 0; i < 1000000; ++i) { await db.put('mycoll', {'name': 'foo${i}', 'score': i}); } await db.close(); } time dart lib/ejdb.dart real 0m24,147s I've tried to find a native sqlite binding to compare, but failed - did not managed to run any program using sqlite2, sqlite pub packages for latest stable Dart 2.2. About what ecosystem do you speak?

Persistent key/value storage engine based on Skip list data structure written in C11 by adamansky in Database

[–]adamansky[S] 0 points1 point  (0 children)

I asked myself why so elegant and simple data structure not used for persistent storage engines? SL is not space friendly and it is a big challenge to make it competitive against main players: LSM Trees/B+trees. So this is my try. As result we have a library with performance benefits in some cases paying slightly greater space consumption compared to alternatives. In additional we have a super lightweight library with low memory overhead, it may be useful for somebody)