Programming Leftovers
-
Niko Matsakis: To async trait or just to trait
One interesting question about async fn in traits is whether or not we should label the trait itself as async. Until recently, I didn’t see any need for that. But as we discussed the question of how to enable “maybe async” code, we realized that there would be some advantages to distinguishing “async traits” (which could contain async functions) from sync traits (which could not). However, as I’ve thought about the idea more, I’m more and more of the mind that we should not take this step — at least not now. I wanted to write a blog post diving into the considerations as I see them now.
What is being proposed?
The specific proposal I am discussing is to require that traits which include async functions are declared as async traits…
-
How to Install and Configure Open JDK and Oracle JDK on Rocky Linux
Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s and later owned by Oracle Corporation. It is commonly used for creating various applications, including web and mobile applications, desktop applications, games, and scientific applications.
-
Enable Syntax Highlighting in Zsh
Improve your Zsh experience by enabling syntax highlighting. Here's how to do that.
-
How to write efficient Bash scripts with control structures
Bash is a command-line shell and programming language widely used on Unix-based operating systems. It is an essential tool for system administrators and developers who need to automate tasks or perform complex operations.
-
2023-03-10 This week in PSC (100)
-
2023-03-08 Call for Papers. TPRC 2023
-
Tiger Oakes: Tricks for easier right-to-left CSS styling
Using CSS custom properties for elements without logical properties.