Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Josef Strzibny: Preloading Rails applications in production

    When it’s time to take your application online, there are several decisions to make. Today I would like to talk about application preloading and explain why I prefer preloading applications in production.

    But first things first. What’s is preloading anyway?

    Preloading the application is a process of loading up all application files and dependencies to virtual memory. If it would be a game, this might be a difference between loading just first two levels of the game versus loading the game as a whole. What’s not loaded at first will be loaded later from the disk when required.

    The opposite of preloading is lazy loading. Lazy loading saves us some memory at first and as a side product makes the boot process faster which might be a decent optimization for large applications.

  • GCC 12 Merges Initial Support For RISC-V's Bitmanip Extensions - Phoronix

    Following the recent RISC-V Bitmanip work in Binutils, the GCC 12 compiler has now landed preliminary support for the RISC-V ISA's bit manipulation extension.

    RISC-V's Bitmanip is a collection of several component extensions intended to help cater the open-source processor ISA for better efficiency that can result in code size reduction, better performance, and reduced energy consumption.

  • Nibble Stew: A call for more downstream testing of Meson

    As Meson gets more and more popular, the number of regressions also grows. This is an unvoidable fact of life. To minimize this effort we publish release candidates before the actual releases. Unfortunately not many people use these so many issues are not found until after the release (as happened with 0.60.0).

    For this reason we'd like to ask more people to test these rcs on their systems. It's fairly straightforward.

    [...]

    If you have some different setup that has a full CI run (hopefully something smaller than a full Debian archive rebuild) then doing that with the rc version would be the best test.

  • Use Rust for embedded development

    Over the past several years, Rust has gained a passionate following among programmers. Tech trends come and go, so it can be difficult to separate excitement just because something is new versus excitement over the merits of a technology, but I think Rust is a truly well-designed language. It aims to help developers build reliable and efficient software, and it was designed for that purpose from the ground up. There are key features you'll hear about Rust, and in this article, I demonstrate that many of these features are exactly why Rust also happens to be great for embedded systems.

    [...]

    Using Rust for your embedded development gives you all the features of Rust without the need to sacrifice flexibility or stability.

More in Tux Machines

See Carla Schroder Talk Linux Online - and Maybe Win a Book or Other Cool Swag

Carla Schroder, Linux enthusiast and advocate, and the author several well known books on Linux and open source software (including her latest, Linux Cookbook Second Edition), has teamed up with the folks who produce the annual All Things Open conference in Raleigh. The result is a live online webinar — What’s New in Linux: the Most Significant Changes in the Past Ten Years — that’s scheduled to take place at noon Eastern Time/9 am Pacific Time on December 14. The event is completely free (actually better than free, since they’ll be giving away a number of copies of her new Linux cookbook, as well as some cool All Things Open t-shirts and stickers, all shipped postage paid), but you’ll need to register to attend. Read more

4 Stat Commands in Linux with Example for Beginner Users

A stat command displays information about a file or a file system. With the stat command, you can get information like the file size, its permissions, the IDs of the group and user that have access, and the date and time that the file was created. Another feature of the stat command is that it can also provide information about the file system. When we want to know the information about a file, we should use this tool. So in this blog, you will get to know about the Stat command in Linux with appropriate examples. Read more

Best Free and Open Source Alternatives to Corel AfterShot Pro

Corel Corporation is a Canadian software company specializing in graphics processing. They are best known for developing CorelDRAW, a vector graphics editor. They are also notable for purchasing and developing AfterShot Pro, PaintShop Pro, Painter, Video Studio, MindManager, and WordPerfect. Corel has dabbled with Linux over the years. For example they produced Corel Linux, a Debian-based distribution which bundled Corel WordPerfect Office for Linux. While Corel effectively abandoned its Linux business in 2001 they are not completely Linux-phobic. Read more

KDDockWidgets 1.5.0 Released

KDDockWidgets is a development framework for custom-tailored docking systems in Qt, to use when you need advanced docking that is not supported by QDockWidgets. It was created by Sergio Martins as a time-saving alternative to QDockWidgets. The ease-of-use of KDDockWidgets can save you lots of frustration as well, in that you won’t have to deal with the myriad bugs and the difficulties and complexities faced when working with QDockWidgets. Read more