Speeding up Rust semver-checking by over 2000x

Bridging the Object-Oriented and Functional Divide with the Visitor pattern

DevOps Self-Service Centric Pipeline Security and Guardrails

Issue #333

2/15/2023

{{PreviewText}} 

Hey-ya
Issue 333. Pretty cool number. 333 more and we'll be at the most demonic issue.
Looks like the core-js story from yesterday hit home with a lot of people yesterday.
I watched this interesting video yesterday about the recent explosion of AI tools. Tom Scott explains how technology development follows an S curve, where at the beginning development is slow because there are a lot of issues to fix, but then it explodes with growth, and ultimately slows down again when the tech begins reaching its limits. Your existential fear and/or excitement should depend on what part of that curve we're currently on.
I'm still kind of processing what I think about the situation and where I think we're at. I've been using these AI tools for a while and am very aware of both their strengths and limitations. At the moment, I'm not really sure if the strengths outweigh the limitations. Why? Because the tools are REALLY good at producing output that LOOKS correct, but in fact isn't. This can lead to big problems in certain instances. However, I'd say 60% of the time, the output is pretty good. I guess we'll just see how things develop from here.
Anyway, here's the issue.

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

Today's Sponsor: QA Wolf

In-house QA can take years to scale, QA Wolf takes weeks. QA Wolf will write, run, and maintain your automated end-to-end test suite — and get you to 80% test coverage in 4 months. Parallel testing infrastructure is included with unlimited test runs and bugs are human-verified.

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

Speeding up Rust semver-checking by over 2000x

Published: 7 February 2023
Tags: optimization, rust


Predrag Gruevski highlights "how cargo-semver-checks will benefit from the upcoming query optimization API in the Trustfall query engine".
Some highlights:

  • "Today, cargo-semver-checks is good enough to prevent real-world semver violations, and fast enough to earn a spot in the release pipeline of most crates"
  • Checking larger crates is slow though
  • Indices are used to speed things up!


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

Bridging the Object-Oriented and Functional Divide with the Visitor pattern

Published: 11 February 2023
Tags: design patterns, functional, javascript, oop, typescript


Joseph Junker discusses how the visitor pattern can be used to mix functional and object oriented programming in a beneficial way.
Some highlights:

  • The visitor pattern enables a beneficial mixing of functional and object oriented programming and has a deep and rigorous connection to type theory
  • Functional programming makes it easy to define new functions, and hard to add new data, object oriented programming makes it easy to define new data, and hard to add new functions
  • Can make the visitors more lightweight by just making them into TS/JS objects


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

DevOps Self-Service Centric Pipeline Security and Guardrails

Published: 25 January 2023
Tags: devops, infosec, infrastructure


Wenqi Glantz discusses how to ensure security when using a devops self-service pipeline.
Some highlights:

  • Covers good practices for implementing security in your devops pipelines
  • Wenqi highlights a bunch of different tools that can help
  • Descriptions of why the tools are useful and how to use them


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

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: 3047

Opens: 1467

Clicks: 352

Link Clicks Clicks % Unique Clicks Unique Clicks %
Speeding up Rust semver-checking by over 2000x 40 16.46% 40 15.69
Bridging the Object-Oriented and Functional Divide with the Visitor pattern 149 61.32% 160 62.75
DevOps Self-Service Centric Pipeline Security and Guardrails 54 22.22% 55 21.57

Previous

Back to Issues

Next