Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 20:13:24 EDT

Explore

PostsPeople
LatestRanked
@gaurav1403.bsky.socialSep 24, 2026, 3:38 AM

Two threads.
One shared variable.
And suddenly `count++` becomes dangerous. πŸ˜„

That's why Java has `synchronized`.

It helps control access to shared data and provides memory-visibility guarantees.

Simple examples πŸ‘‡

gauravrshegekar.substack.com/p/synchroniz...

#Java #Multithreading #Concurrency

@xojo.comSep 23, 2026, 3:49 PM

When several threads need access to the same file, database, or other resource, what synchronization approach do you use? Xojo’s Semaphore class supports both waiting for access with Signal and checking immediately with TrySignal.

#Multithreading #Concurrency #DeveloperDiscussion #Programming

@gaurav1403.bsky.socialSep 23, 2026, 2:49 AM

You submitted a `Callable` task.

Now you need its result. πŸ€”

That's where `Future` comes in:

```java
Future<Integer> f =
executor.submit(() -> 10 + 20);

Integer result = f.get();
```

I explained Future, CompletableFuture

gauravrshegekar.substack.com/p/future-in-...?

#Java #Multithreading

@gaurav1403.bsky.socialSep 22, 2026, 2:46 AM

`Runnable` can do the work.

But what if the thread needs to **return a result**? πŸ€”

That's where `Callable` comes in.

I explained Callable, Future, exceptions, ExecutorService and real examples in my latest ByteCraft article.

πŸ‘‰ gauravrshegekar.substack.com/p/callable-i...?

#Java #Multithreading

@gaurav1403.bsky.socialSep 21, 2026, 4:04 AM

Want to create a thread in Java without extending `Thread`?

I explained it simply in my latest ByteCraft article.

πŸ‘‰ gauravrshegekar.substack.com/p/creating-t...?

#Java #Multithreading #CoreJava

@gaurav1403.bsky.socialSep 19, 2026, 2:49 AM

`t.start()` β‰  `t.run()`

`start()` β†’ schedules a new thread
`run()` β†’ normal method call

Java multithreading gets interesting when you add scheduling, shared data, synchronization and thread pools.

I explained it simply πŸ‘‡

gauravrshegekar.substack.com/p/multithrea...?

#Java #Multithreading #JVM

@programmerhumor-io.bsky.socialSep 19, 2026, 2:27 AM

Why Are We Using R Again

#programming #python #multithreading #performance #datascience

https://programmerhumor.io/python-memes/why-are-we-using-r-again-p4ca

Why Are We Using R Again
@dotnetdave.bsky.socialSep 14, 2026, 3:03 PM

Crank up your .NET concurrency! 🎸
DistinctBlockingCollection<T> in Spargine gives you thread-safe performance and guaranteed uniqueness β€” no more duplicate work in your queues.
#dotnet10 #MVPBuzz #Multithreading
dotnettips.wordpress.com/2025/06/08/b...