Malcom x86's Avatar

Malcom x86

@bigthing.bsky.social

PLT groupie.

27 Followers  |  36 Following  |  15 Posts  |  Joined: 01.07.2023  |  1.8879

Latest posts by bigthing.bsky.social on Bluesky


Lisp, it has a lot of resources, and I mean foundational works like SICP.

Haskell is an incremental improvement over functional programming.

Nim is a niche thing, mostly useful to people who know other programming languages.

Assembly is fundamental to the machine, better to learn C first.

05.08.2023 23:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm a born-again C++ developer, learning it now having not touched it for 20 years. Wow, it's a different beast, and in a good way. Best thing is that my old standby tools still work.

28.07.2023 01:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I could repost it, but I have 1 follower, and he is a smug Haskell weenie.

28.07.2023 00:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Wouldn't that just be tedious declarations, and not a "port"?

Maybe something SFML related?

28.07.2023 00:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Wow, a like from @lefticus.bsky.social aka std::amish

27.07.2023 18:49 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

My take:

using using using using using using using using

Translation:

While addicted to type aliasing via the C++ "using" keyword, apply "using" as an example of dependence, utilizing the "using" keyword.

27.07.2023 00:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

*that uses only one word!

πŸ˜€

26.07.2023 15:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

You can pretty much condense the last decade of tech into these two posts

25.07.2023 20:12 β€” πŸ‘ 3393    πŸ” 1103    πŸ’¬ 24    πŸ“Œ 15

"variables" are just parameters in the enclosing block ;-)

Algol figured out block structure, let's catch up with the definitions.

26.07.2023 04:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

If you want a POC, get a simple exchange between C++ and Erlang going. Just primitive types (bool would do, initially.)

Benchmark what you have, and gradually introduce concurrency or asynchrony as needed. But not from the start.

26.07.2023 03:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Abseil doesn't seem to have Futures, so you're probably mixing Abseil, some other C++ futures implementation, and trying to serialize these things across different runtimes!

This is all a recipe for confusion.

26.07.2023 03:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Are you in Erlang-land calling into C++?

If what you're is multiplexing on a connection, Futures are definitely a bad fit for it.

Link to a gist and I will take a look.

P.S. Ψ§Ω†Ψ§ ΩƒΩ…Ψ§Ω† اُحِب ΩƒΨ±Ψ¨Ω„Ψ§Ψ‘

26.07.2023 03:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Wait, how are you communicating _futures_ across two entirely different execution environments!?

What am I missing here? Futures are not "normal" values that can be serialized across different contexts, they're a handle to a value yet to be computed!

I would love to hear more.

26.07.2023 03:32 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
a screencast of VS Code + Metals + sbt 1.9.3 used as build server. First, I type in `def foo`, and VS Code shows yellow squiggles indicating a compiler warning. When I hover over, it explains that the procedure syntax is derepcated and that a Quick Fix is available. Selecting the quick fix item fixes the procedure syntax automatically by injecting ": Unit".

a screencast of VS Code + Metals + sbt 1.9.3 used as build server. First, I type in `def foo`, and VS Code shows yellow squiggles indicating a compiler warning. When I hover over, it explains that the procedure syntax is derepcated and that a Quick Fix is available. Selecting the quick fix item fixes the procedure syntax automatically by injecting ": Unit".

released sbt 1.9.3 featuring an improvement on actionable diagnostic (quickfix) support

this is a compiler and tooling level mechanism to send structured fixes long with the compiler warnings. with Metals 1.0.0 and sbt 1.9.3 you can see it in action
https://eed3si9n.com/sbt-1.9.3 #Scala

24.07.2023 07:02 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

*Zio, not Zip.

26.07.2023 03:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If you're already comfortable with one Effects library (Cats, Zip, etc.) you should be fine.

The book is specifically geared towards those with a Category Theory inclination. Go watch the author's lectures on YouTube first. It's an essential text, but not general.

26.07.2023 03:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Java/Kotlin interop is seamless. It has to be, you know, for Android.

But I have only tried up to JDK11, mostly in the Kotlin to Java direction (the inverse can be trickier, not sure.)

26.07.2023 03:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@bigthing is following 20 prominent accounts