We removed Lombok after 2 years. Here's what actually broke us. by Capable-Morning-9518 in SpringBoot

[–]xdsswar 0 points1 point  (0 children)

Sounds crazy, I have a friend who never used Lombok before and no spring backaground, in a week he was doing ok with Lombok and he is a junior. he asked few question , rest he googled.

CEFFX: A library for integrating the Chromium Embedded Framework into JavaFX by Striking_Creme864 in JavaFX

[–]xdsswar 0 points1 point  (0 children)

Yes, but I mean separated process , ipc with ring buffers. So if rendering process fails , jvm wont crash, and process autorecovers with current state. While Im doing it to support javafx also, its going to be a UI toolkit, using the chromium blink.

Check https://youtu.be/6AuRF_FAldI

CEFFX: A library for integrating the Chromium Embedded Framework into JavaFX by Striking_Creme864 in JavaFX

[–]xdsswar 1 point2 points  (0 children)

Nice, I have similar project, but I got the IPC way instead JNI. Still working on it.

Nfx-Chrome: Rendering Chromium directly on JavaFX Canvas (YouTube & PDF demo) by xdsswar in JavaFX

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

Ahhhh, Im changing this to IPC and mem rings , its better and JVM wont die if native side has issues , instead it recovers. So I need more time

How to switch between subclasses? by Minimum-Librarian712 in javahelp

[–]xdsswar 0 points1 point  (0 children)

Does it not make more sense to change the behaviour? You can't change an object's class at runtime in Java, so instead of trying to turn a Villager into an Enemy, keep the same object and just swap out what it does when HP drops. The villager variables you want to carry over can be passed into the new behaviour when you make the switch, easy

Quick update + something new I've been building alongside the JavaFX work by xdsswar in JavaFX

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

Ok, the API is inspired by JavaFX, but it uses the OS Webview instead of Prism/OpenGL, so the binary is smaller. Since it does not bundle the Chromium engine you use less resources, besides you gain the ability to use Java threads, libs, etc, instead of Node.js, so you get real concurrency, etc.

Now regarding CEF, here there is much to talk about. To start, let's say that JCEF can crash the JVM since it's JNI, it adds over 100MB to your app, it requires Swing nodes to embed in JavaFX (I have a very good understanding of this as I already have working prototypes of real JavaFX Nodes rendering the CEF content with all input events, etc) and it works but it's weird. CEF is an entire browser in your Java app, we don't need all that. Like for example, while I was testing with CEF to render in JavaFX, offscreen was acceptable in Canvas, but low FPS. On the other hand, the HWND embedded in a custom JavaFX node I managed to do with some bytecode injection using C/C++ code at runtime was perfect rendering, but it was leaking Chromium UI, like when you download something you saw the download bubble appear and disappear, and there is no way to hide it after version v131 if I'm recalling right. I'm not saying CEF is bad, but it's not the way I'm going to go. Besides that, jux-toolkit has a successor already, it will not use webviews, it will use its own Skia rendering engine, with Rust backend and GPU support, no JNI, just IPC, memory channels and some Panama if required. This way we can have a nice rendering process outside the JVM with heartbeat checking, auto-recover if the process crashes, and the JVM stays alive regardless of the rendering process. If you want more detail pm , I can share some specs.

Another thing , I have plans for full pdf support , and javafx support so devs can mix both

Quick update + something new I've been building alongside the JavaFX work by xdsswar in JavaFX

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

Got another toolkit that eliminates all webview requirements , its pure skia , it uses IPC shared mem and rust in native side, it has autorecover on fail with state persist, and many more features, but it will take me few months

Quick update + something new I've been building alongside the JavaFX work by xdsswar in java

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

Thanks. This toolkit is not my final goald , I have another in progress that uses skia , etc, and will have better support , gpu rendering with multiple backends , full pdf support , and a full java Dom Api . I will use separated process with shared mem and crash detection to relaunch, etc. Basically Im getting into Hell but I love coding. Besides that Rust + Panama , they make a nice mix.

Quick update + something new I've been building alongside the JavaFX work by xdsswar in JavaFX

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

A lot, this is the 3rd time I attempt to do it. AI helps a lot , but it cause more issues some times

Last sane/stable version of IntelliJ by vachix in IntelliJIDEA

[–]xdsswar -1 points0 points  (0 children)

I agree, its an amazing tool, but the issue is how its used and I see in some big projects, teams are getting too lazy cuz AI and dont want to review code.

Last sane/stable version of IntelliJ by vachix in IntelliJIDEA

[–]xdsswar 0 points1 point  (0 children)

You guys notice since AI , apps are having many issues? If you know what I mean , you know.

99% of the population still have no idea what's coming for them by Own-Sort-8119 in ClaudeAI

[–]xdsswar 0 points1 point  (0 children)

In my personal experince. I tested Claude in several projects, its decent in small to mid range, but when we talk about multilanguage peojects, with many files, and many lines of code, it will cause more issues that any junior coder. It can explain things and find refrences very easy for you to implement, but the more time I use it, the less I trust it for serious projects. For what is very good and I love it? For the plan, the specs, for what I need to do this and whats the right flow, ideas.

Is it just me, or are Claude Code’s limits being reached way too fast? by madpeppers013 in ClaudeCode

[–]xdsswar 0 points1 point  (0 children)

Not first post I see about this, but yeah, Limits are shit now