Hello World under the microscope

Localizing a Qt App; Or Anything Else For That Matter

Virtual Threads: New Foundations for High-Scale Java Applications

Issue #278

10/12/2022

{{PreviewText}} 

Yooooo
Touché whoever just wanted to "share some music" with me. You lulled me into a false sense of security with your kind words and smiley. I'm going to have to go on high alert now. If I was to write a script that checked links for potential signs of Rick Rolling, would that be considered cheating?
Anyway, here's the issue.
PS. Never gonna give you up. Never gonna let you down. Never gonna run around and desert you!

====================================================================

Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.

====================================================================

Hello World under the microscope

Published: 11 October 2022
Tags: python


Adam Sawicki discusses the process of a "Hello World" program written in Python being executed on a Windows computer. Adam goes from the print statement all the way through to how the words "Hello World" are actually displayed on your screen.
Some highlights:

  • In practice, many popular scripting languages are compiled into their own variants of bytecode – a binary form that, although incompatible with the machine language of real processors, is much easier to quickly interpret and execute than pure source code
  • Compilation can be reduced to three steps: lexical analysis -> parser analysis -> generating code
  • All widely used vector font formats support hinting, i.e., programming certain hints in the font as to how a given character should be drawn in certain sizes


====================================================================

Localizing a Qt App; Or Anything Else For That Matter

Published: 11 October 2022
Tags: c++, qt


Ben Summerton covers the topic of software translation, discussing both the technical and non-technical sides. Ben divides the blog post into three sections: localization in Qt apps, good guidelines for localization, and a story of localization from a previous job.
Some highlights:

  • Qt has a pretty decent built-in system for localization
  • Good organization is necessary to not drive yourself crazy with different translations
  • Your layout will be prone to break with other languages that might have wider characters or longer words


====================================================================

Virtual Threads: New Foundations for High-Scale Java Applications

Published: 23 September 2022
Tags: java


Brian Goetz presents virtual threads in Java 19. Virtual threads are a lightweight implementation of Java threads that dramatically reduce the effort of writing, maintaining, and observing high-throughput concurrent applications. Brian discusses existing threads, virtual threads, why they're being added, and the limitations of async. Not going to include highlights because there are key takeaways at the start of the article.


How did I do?

5 4 3 2 1
Amazing


Bad

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2973

Opens: 1419

Clicks: 335

Link Clicks Clicks % Unique Clicks Unique Clicks %
Hello World under the microscope 113 43.80% 119 44.40
Localizing a Qt App; Or Anything Else For That Matter 47 18.22% 48 17.91
Virtual Threads: New Foundations for High-Scale Java Applications 98 37.98% 101 37.69

Previous

Back to Issues

Next