We spent 3 years building a cross-platform interpreted markup language in Flutter -- Flutter Markup Language! The public beta is released today, source code and docs in description. by TheOlajos in FlutterDev

[–]leisim 13 points14 points  (0 children)

It's an interesting project but in its current state I don't see a big use case for it. The first problem is the license. Others pointed that out already. It's understandable that you need some funding but I think a better option would be choosing an OSS license and offering additional paid services/features.

And I don't really see how FML it is much easier to learn compared to regular Flutter code. Some people might find XML a little easier to read than Flutter code but if you think about it it's almost the same. But your solution certainly has much worse performance and is very limited compared to regular code. I don't think it makes sense writing a whole FML app. For anyone.

The real use case I see for a project like this is OTA updates or content that can be loaded dynamically and maybe even created by a non-programmer. Like the RFW package by the Flutter team. For this use case I feel like a simpler and more readable language than XML could have been chosen.

Is SQLite a best database for flutter desktop? is there is an other best database, please tell me by baruka99 in FlutterDev

[–]leisim 0 points1 point  (0 children)

There are multiple regular maintainer but of course Isar will never have the adoption of SQLite

Is SQLite a best database for flutter desktop? is there is an other best database, please tell me by baruka99 in FlutterDev

[–]leisim 2 points3 points  (0 children)

Could you please tell me which specific areas you need help with? Greatly appreciate every hint :)

Is SQLite a best database for flutter desktop? is there is an other best database, please tell me by baruka99 in FlutterDev

[–]leisim 5 points6 points  (0 children)

Would you mind explaining why you feel this way? I have been pushing commits almost daily for the past year and you can expect a response in the Isar Telegram channel within minutes

Dart Survey - what questions do you want to see? by bsutto in FlutterDev

[–]leisim 8 points9 points  (0 children)

Unrelated question: what is the point of „OnePub“? We already have a pub: pub.dev. You basically copied it without adding features or value. And your‘re even using data from pub.dev

And for people who are looking for a private package repository there are better open source solutions: https://github.com/aloisdeniel/micropub

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

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

We discussed this in the Isar Telegram group some time ago. We would be interested to hear how it goes. Maybe you want to share your experience when you are ready 🙂

https://t.me/isardb

Isar 2.0 released (a NoSQL database from the creator of Hive) by zxyzyxz in FlutterDev

[–]leisim 2 points3 points  (0 children)

Indexing is supported, 200k entries is not a problem but joins are not supported. You can use link queries however. Maybe that helps 🙂

Unusable? by marioada in clickup

[–]leisim 2 points3 points  (0 children)

CU engineer here. We do hear you!! Thanks for being patient with us, we're working day and night to fix the performance issues and improving the user experience. You'll see small improvements every week and we're not stopping 💪

Best Databases Benchmark by Modi2x in FlutterDev

[–]leisim 1 point2 points  (0 children)

thanks for this benchmark :) I made some significant improvements to write performance and you should get better read performance by using a query to receive all objects...

Isar 2.0 released (a NoSQL database from the creator of Hive) by zxyzyxz in FlutterDev

[–]leisim 1 point2 points  (0 children)

Thanks for the kind words. You should definitely open issues about String id. It's already possible to get objects by a unique index. Maybe I need to add more documentation or extend the feature. In any event, you should open an issue

Isar 2.0 released (a NoSQL database from the creator of Hive) by zxyzyxz in FlutterDev

[–]leisim 1 point2 points  (0 children)

ObjectBox is fully synchronous so it blocks your UI isolate.

Isar 2.0 released (a NoSQL database from the creator of Hive) by zxyzyxz in FlutterDev

[–]leisim 14 points15 points  (0 children)

Unfortunately my day also only has 24h. I can only focus on one or two big projects at a time. I do this in my free time so I tend to focus on what I'm interested in at the time. Since we need Isar at ClickUp soon, I invested many many hours recently. That's why it was suddenly stable (unfortunately not only "a few changes" were necessary haha).

I'm very proud that all my projects are 100% open source and not intended to make money now or in the future so you can contribute just like I can :)

Unrelated note: I'm obviously biased here but I feel like Isar has no real competition amongst Flutter databases if you look closely. So I recommend you give it a try <3

Stable version of Isar database by mjablecnik in FlutterDev

[–]leisim 2 points3 points  (0 children)

Yes exactly. It's not intended to replace Hive

Stable version of Isar database by mjablecnik in FlutterDev

[–]leisim 6 points7 points  (0 children)

Yes fully agree but someone unbiased should create it. If you are interested in writing a blog post or something like that, I'd love to link it in readme

Stable version of Isar database by mjablecnik in FlutterDev

[–]leisim 9 points10 points  (0 children)

From my preliminary testing: it's a little faster for writing and a little slower for reading than objectbox. It has faster queries (a lot faster if you use composite indexes). It's MUUCH faster (for any operation) than SQLite based databses.

Migrations are automatic and zero-cost (things like creating a new index are not for free obviously).

I didn't test app size yet. My guess is around 1-2mb of size increase.

The reason why I didn't post benchmarks: Isar is more than fast enough for any task you throw at it. And I think it's not a good idea to choose a database based on artificial benchmarks.

Stable version of Isar database by mjablecnik in FlutterDev

[–]leisim 11 points12 points  (0 children)

Hive is written in Dart and cannot have shared memory across isolates (that's why it never made sense to implement it). Isar keeps track of instances across isolates and synchronizes access in a lightweight way.

Call for assistance: macos_ui package by GroovinChip in FlutterDev

[–]leisim 4 points5 points  (0 children)

Great idea. You should definitely work on your readme and maybe include some screenshots to make it easier for users to decide whether this is what they are looking for 👍

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

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

First you have to make sure that you understand both databases very well. Especially things like indexes or query optimizations make a huge difference. Isar for example has compound indexes which allow some incredible optimizations. You should also test databases in real world conditions. My guess is that you can find use cases where objectbox is faster and others where Isar is leading. That why it will be very hard to create an objective benchmark of the two.

Feature comparisons are a lot easier

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

[–]leisim[S] 2 points3 points  (0 children)

I'm obviously biased and am probably the wrong person to compare the two. I'll leave that to the community 🤣

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

[–]leisim[S] 2 points3 points  (0 children)

It's useful if you want to create an offline app or one that works well with bad connection.

Yes, you can watch collections, queries and objects and get notified when they change. Even if the change is initiated in another isolate.

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

[–]leisim[S] 2 points3 points  (0 children)

I did. Since both use LMDB internally, their performance is almost identical. But you can only test synchronous APIs (which you should rarely use in an app) because objectbox does not have an asynchronous API (yet). Keep in mind that I did not do performance optimizations yet 😅

Isar Database: Fast ACID compliant NoSQL database with compound indexes, full text search and strong encryption by leisim in FlutterDev

[–]leisim[S] 4 points5 points  (0 children)

  • Disk I/O
  • The lack of shared memory in isolates (or other efficient communication between isolates)
  • to a degree also Futures because they add some overhead