4:13 - while it's not necessarily going to have a huge impact on the image size, it's good hygiene to use a disposable builder image, do any kind of prep work you need there, and then use COPY to copy anything you need to your final image. It means you don't end up with useless layers and the possibility of leaking credentials (if you need to hit some artifact repository that expects credentials, for instance) is greatly reduced.
@IsaacHarrisHoltАй бұрын
You're right, thanks!
@MattRobinsonDev5 ай бұрын
Great video as always Isaac :)
@IsaacHarrisHolt5 ай бұрын
Thank you!
@Fik0n5 ай бұрын
Great video as always!
@IsaacHarrisHolt5 ай бұрын
Thank you!
@lucdecafmeyer27715 ай бұрын
Noticed you've been doing a lot of Gleam lately, which has been cool to see! My question is if Gleam can stack up to a language like Go that builds to a single binary in terms of ease of deployment or ease of use (not that I'm particularly familiar with either 😅)
@IsaacHarrisHolt5 ай бұрын
It's not quite as easy as languages with static binaries (yet!), but as I try to show in the video, it's really not hard to do. Most Gleam apps are relatively self-contained.
@rodrigohmoraes5 ай бұрын
@@IsaacHarrisHolt are you familiar, by any chance, with the Gig project? A 3rd party Gleam compiler (still in the very early stage) that compiles it to C, thus allowing you to turn your project into a single, self-contained binary.
@IsaacHarrisHolt5 ай бұрын
I'm not! I'll have to look into it. There have been a few attempts at native Gleam compilers so far, but nothing official
@anotherelvis5 ай бұрын
Great video.
@IsaacHarrisHolt5 ай бұрын
Thank you!
@Hasan10-oh7vl5 ай бұрын
Love ittt!! You need a video editor bro? I can do a sample video :)
@IsaacHarrisHolt5 ай бұрын
Feel free to reach out by email!
@devyb-cc5 ай бұрын
patiently waiting to be more mature while learning its basic.
@IsaacHarrisHolt5 ай бұрын
You don't need to wait! There's production software being written in Gleam :)
@devyb-cc5 ай бұрын
@@IsaacHarrisHolt if i have lots of time yeah 😂
@VideoGerm5 ай бұрын
Have you considered collaborating with Louis on a paid Gleam course, then promoting it through tech influencers like ThePrimeagen and Theo who both loved the language? It could be an effective way to support the language now that Gleam has lost its primary sponsor.
@IsaacHarrisHolt5 ай бұрын
I think it's been considered but not yet discussed properly
@zakariabenhadi46375 ай бұрын
Nice !
@IsaacHarrisHolt5 ай бұрын
Gleam is dope
@diegoguraieb82825 ай бұрын
It would be nice to know how to deploy to a cluster of BEAM nodes..if that makes sense..
@IsaacHarrisHolt5 ай бұрын
Yes! It's in the pipeline, but I wanted this video to cover more of the basics
@diegoguraieb82825 ай бұрын
@@IsaacHarrisHolt thank you! , great gleam videos!
@shamashel4 ай бұрын
@@IsaacHarrisHolt patiently waiting for this
@ahuman324785 ай бұрын
Gleam or Rust?
@IsaacHarrisHolt5 ай бұрын
They're not comparable. The two languages have totally different goals
@codingwithjamal5 ай бұрын
@@IsaacHarrisHoltwhats gleams core goal?
@IsaacHarrisHolt5 ай бұрын
Gleam is about creating type safe systems that scale, but keeping things simple while doing so. Simplicity is at the core of Gleam, and at the heart of every decision the core team makes. Rust, on the other hand, is more focused on memory safety and performance, but it does this at the cost of simplicity. They accept a high learning curve and low initial developer velocity in return for very high performance, low overhead code. 99% of the time, you probably don't need Rust's performance. Often, people pick it for stuff just because they like the type system or whatever, but they're taking on a lot of burden they don't necessarily need. Gleam offers a very similar type system, but because it's garbage collected, it's a lot more lenient and easier to write.
@driedurchin5 ай бұрын
@@IsaacHarrisHoltbesides the speed, the strict guarantees around failures helps with critical systems that need it be high reliability.
@IsaacHarrisHolt5 ай бұрын
With Rust or Gleam? Gleam runs primarily on the BEAM VM, which was designed for fault tolerance in telecommunications. Gleam has very similar error handling to Rust, and actually it has better disaster recovery