RBlind
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Lua@programming.devEnglish · 1 month ago

Optimizing Lua string literals to save 400 bytes

purplesyringa.moe

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • lua@sopuli.xyz
5
external-link

Optimizing Lua string literals to save 400 bytes

purplesyringa.moe

codeinabox@programming.dev to Lua@programming.devEnglish · 1 month ago
message-square
0
link
fedilink
  • cross-posted to:
  • lua@sopuli.xyz
This is a guest post by Yuki about some tricks we use for Lua code compression in our shared ComputerCraft pet project. I’ve written about how we adapted bzip2 for this purpose earlier; this story is an installment that takes place in the same context. If you want to read more stuff from her, here’s an Atom feed and the blog.
alert-triangle
You must log in or register to comment.

Lua@programming.dev

lua@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lua@programming.dev

Lemmy community dedicated to the Lua programming language.

About Lua

Lua is a powerful and lightweight dynamically typed programming language, often embedded into applications to extend their API.

Resources

lua.org - official website
lua.org/pil - book
lua.org/manual - documentation
luarocks.org - package manager

Rules

You may read full set of rules here.
Too long; didn’t read:

  1. Posts must relate to Lua
  2. Use descriptive titles
  3. Provide reproduction code
  4. Information about environment
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 11 users / 6 months
  • 1 local subscriber
  • 447 subscribers
  • 5 Posts
  • 2 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Name@programming.dev
  • lchapman@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org