Software Alternatives, Accelerators & Startups

Practical Common Lisp VS Lua

Compare Practical Common Lisp VS Lua and see what are their differences

Practical Common Lisp logo Practical Common Lisp

Learning Resources

Lua logo Lua

Powerful, fast, lightweight, embeddable scripting language
  • Practical Common Lisp Landing page
    Landing page //
    2019-12-25
  • Lua Landing page
    Landing page //
    2023-01-29

We recommend LibHunt Lua for discovery and comparisons of trending Lua projects.

Practical Common Lisp features and specs

  • Comprehensive Introduction
    The book offers a thorough introduction to Common Lisp programming, catering to both beginners and experienced programmers by covering the basics and advanced topics.
  • Practical Approach
    It emphasizes practical applications of Lisp, with numerous examples and projects that illustrate real-world usage, making it useful for learning how to write practical and efficient code.
  • Engaging Writing Style
    The author maintains an engaging and accessible writing style that keeps readers interested while explaining complex concepts in an understandable manner.
  • Free Access Online
    The book is available for free online, providing easy access to anyone interested in learning about Common Lisp without financial barriers.

Possible disadvantages of Practical Common Lisp

  • Assumes Prior Programming Knowledge
    The book may assume that readers have some programming background, which might make it challenging for complete beginners to grasp certain concepts quickly.
  • Dated Examples
    Given its publication date, some examples might be somewhat outdated in terms of current technological standards and might not represent the latest best practices in programming.
  • Focus on High-Level Understanding
    While it covers many aspects of Lisp, the book might not delve deeply into certain advanced technical details, which could be a downside for those seeking in-depth technical expertise.
  • Limited Coverage of Modern Libraries
    The book might not address newer libraries and tools that have emerged in the Lisp ecosystem since its publication, potentially missing out on some modern practices.

Lua features and specs

  • Easy to Embed
    Lua is designed to be embedded within applications. It has a simple C API which allows it to be integrated easily with C, C++ and other languages.
  • Small Footprint
    Lua is lightweight, with a small memory footprint. This makes it ideal for use in resource-constrained environments, such as embedded systems and game development.
  • Fast Performance
    Lua is known for its high performance due to its efficient interpreter and just-in-time compilation capabilities provided by LuaJIT.
  • Simplicity
    The syntax of Lua is simple and clean, making it easy to learn and use. It's designed to be both powerful and simple.
  • Extensibility
    Lua can be extended through libraries written in C or other languages, allowing for a lot of flexibility and functionality expansion.
  • Dynamic Typing
    Lua uses dynamic typing, which can make code more flexible and easier to write without the need for explicit type definitions.

Possible disadvantages of Lua

  • Limited Standard Library
    The standard library in Lua is relatively small compared to other programming languages, which can result in the need for additional third-party libraries.
  • Niche Use Case
    Lua is not as widely adopted for general-purpose programming compared to other languages such as Python or JavaScript, which might limit community support and resources.
  • Error Handling
    Lua's error handling mechanisms are somewhat rudimentary compared to languages that offer advanced exception handling like Python or Java.
  • Lack of Type Safety
    While dynamic typing offers flexibility, it also introduces the risk of type errors at runtime, as type mismatches can only be discovered during execution.
  • Concurrency Limitations
    Lua does not have inherent support for multithreading or concurrency within the language itself. It relies on external libraries or specific environments to handle such tasks.

Practical Common Lisp videos

Practical Common Lisp

More videos:

  • Review - Practical Common Lisp

Lua videos

Is Lua A Good First Language To Learn?

More videos:

  • Tutorial - Introduction - What is Lua? || Lua Tutorial #1
  • Review - Xerjoff Lua Fragrance / Cologne Review + GIVEAWAY!

Category Popularity

0-100% (relative to Practical Common Lisp and Lua)
Education
100 100%
0% 0
Programming Language
15 15%
85% 85
OOP
19 19%
81% 81
Learning Resources
100 100%
0% 0

User comments

Share your experience with using Practical Common Lisp and Lua. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Practical Common Lisp should be more popular than Lua. It has been mentiond 55 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Practical Common Lisp mentions (55)

  • Why vibe code in Common Lisp?
    I suggest Practical Common Lisp by Seibel https://gigamonkeys.com/book/ I now generate ALL of my hobby projects in CL (SBCL on windows). I tell the LLM to 'over-comment' the code, so I get to learn as I read the output. It has been glorious. I generally use the web browser on an unused port on localhost for user IO (beautiful pages), and the app just hooks to Hunchentoot to serve. Any 'real' programming... - Source: Hacker News / 12 days ago
  • Microsoft makes Zork open-source
    You're kind of in luck. For a while, it was trendy (because MIT was doing it) to teach Intro to Programming with Lisps, especially Scheme. Because of this, there are quite a few "learn programming with Lisp" books and resources. The famous "SICP" book was the textbook for the MIT course and all of the examples were Lisp (there's a newer version that uses JavaScript, I think). There are loads of fine online books... - Source: Hacker News / 9 months ago
  • Which Lisp? Beginner
    I recommend starting with this free book which covers Common Lisp: https://gigamonkeys.com/book/. - Source: Hacker News / about 1 year ago
  • I Chose Common Lisp
    I began learning Common Lisp (CL) from the Common Lisp HyperSpec (CLHS): https://www.lispworks.com/documentation/HyperSpec/Front/Contents.htm When I began learning CL about two decades ago, I did not know of any other source, so CLHS was my only source back then and I think it has served me well. A popular recommendation these days is Practical Common Lisp (by Peter Seibel): https://gigamonkeys.com/book/. - Source: Hacker News / over 1 year ago
  • Holding a Program in One's Head (2007)
    A quote originally (AFAIK) from the wonderful (and free!) book 'Practical Common Lisp'. https://gigamonkeys.com/book/. - Source: Hacker News / almost 2 years ago
View more

Lua mentions (23)

  • What do I think about Lua after shipping a project with 60k lines of code?
    I would start at https://lua.org/ I'm creating a set of libraries to make Lua into a (still lightweight) application language https://github.com/civboot/civlua. - Source: Hacker News / about 2 years ago
  • How Programming Languages Got Their Names
    Lua means 'Moon' in Portuguese, as it is also their logo: https://lua.org. - Source: Hacker News / over 2 years ago
  • Where can I learn lua
    The official lua website is a pretty good place to go! As well as lua users & tutorials point has a really good tutorial for lua too! The official site may be hard to understand at time (it was for me at least) but thatโ€™s why I gave you the other two. theyโ€™ll explain it simpler/better than the official site may sometimes. Hope this helps! Source: over 3 years ago
  • A Weekly Class for PICO-8 Beginners
    1) Who Should Sign Up? - People with no, little, or intermediate skills in programming or PICO-8. 2) What Will We Cover? - Fantasy Console Paradigm: The Full Overview of What PICO-8 can do. - Lua and the uses of its modified API within PICO-8. Programming, 101. 3) What to Expect - A full game all your own! - Brought together in a 4-8 classes, in live teaching sessions in which you can interact with... Source: over 3 years ago
  • data types in function definition
    I have tried a few thins but no luck and found nothing on the web, also looks as if lua.org main forums no longer exist. Source: over 3 years ago
View more

What are some alternatives?

When comparing Practical Common Lisp and Lua, you can also consider the following products

Land of Lisp - Learning Resources

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Racket Lang - Racket (formerly PLT Scheme) is a modern programming language in the Lisp/Scheme family, suitable...

C++ - Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation

On Lisp - Learning Resources

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible