Better HN
topnewbestaskshowjobs
Log inSign up

davidtos

13 karma · joined Jan 19, 2022 (4y ago) · 15 submissions

Submissions

comment 1y ago · link · parent

I am still working on Java bindings for io_uring https://github.com/davidtos/JUring

The goal is to bring fast random read/writes to Java. Fun project with lots of great challenges around performance while maintaining a nice API.

2.

Show HN: JUring – Java bindings for io_uring file I/O(github.com ↗)

20 points · by davidtos · 1y ago · 3 comments

comment 2y ago · link · parent

Working on creating Java bindings for io_uring. Trying to get some better performance by batching downcalls and making the API Java friendly.

comment 2y ago · link · parent

I did some similar testing a few days ago[1]. Comparing platform threads to virtual threads doing API calls. They mention the right conditions like having high task delays, but it also depends on what the task is. Threads.sleep(1) performs better on virtual threads than platform threads but a rest call taking a few ms performs worse.

[1] https://davidvlijmincx.com/posts/virtual-thread-performance-...

5.

Virtual vs. Platform Threads for API Calls(davidvlijmincx.com ↗)

1 points · by davidtos · 2y ago · discuss

6.

First time right, with software development(davidvlijmincx.com ↗)

2 points · by davidtos · 2y ago · discuss

comment 2y ago · link · parent

That already exists luckily, you can even change the maximum number of carrier threads with:

- jdk.virtualThreadScheduler.maxPoolSize=10

comment 3y ago · link · parent

This is exactly what i do. Pressing the leader key and another key to let it type sentences and boiler plate code.

Creating a layer for this sort of typing would also be really cool and not having to use that leader key the entire time.

comment 3y ago · link · parent

https://www.davidvlijmincx.com/

I write mostly about concurrency and testing in Java for the last two years now.

I do it in hope that it helps people and to connect with people who share the same passion :D

10.

Introduction and pitfalls of Java's new concurrency model(youtube.com ↗)

1 points · by davidtos · 3y ago · discuss

11.

12 steps to Better Tests(davidvlijmincx.com ↗)

2 points · by davidtos · 3y ago · discuss

12.

Steps to Better Tests(davidvlijmincx.com ↗)

1 points · by davidtos · 4y ago · discuss

comment 4y ago · link · parent

I have been writing for my personal blog now for a year. The time spend writing and editing does feel worth it. My writing is a lot better than it was a year ago.

It helped me to get noticed at my work and to make new connections.

You will always learn something about the stuff you write. To write better, some new way of doing something, or something from the comments.

I run my blog through cloudflare pages. I only have to push a new markdown file to github and the Hugo template and cloudflare do the rest. Took only a few hours to setup correctly.

comment 4y ago · link · parent

https://www.davidvlijmincx.com/

I write mostly about Java, testing and future additions to the language.

comment 4y ago · link · parent

Shameless plug of my blog. It’s about new and upcoming features in Java and unit testing. https://www.davidvlijmincx.com/