The work done by the racket7 folks on Chez might change that though. Any Lua programmers here able to recommend learning the language, though? ClojureScript is powered by Google Closure. It's a R6RS Scheme, so bigger, but Chez has much better embedding support, is backed by Cisco instead of a single dev.

However, I think I'll just try CoffeeScript for nicer syntax and write my own basic library for now. (C# is not in the equation because i have a love-hate relation with C in general). Mongoose OS (iot OS) [0] uses embedded Javascript. > I don't think a core library's choice should be an argument to judge the whole language. I think it's a fair choice and I don't think a core library's choice should be an argument to judge the whole language. > it's not because it's designed to be easily embeddable that it doesn't work just fine on its own. Lua is a great language; Python is a great language. If you still want to call it a JIT then every language that compiles code to an intermediate representation and then executes it is a JIT language,which means just about every friggin language. While Lua is simpler than Python, Python is more popular and demanding than Lua for its beginners. What's the big difference with Python?

Native threads? They're pretty comparable, performance wise, actually.

Some magma reaches the Earths surface via vents and fissures.

You can start them at 0 if you want. Javascript and Lua have a lot in common, so much so that anything I can think to do in Lua I can do in Javascript. 3. His game used Lua extensively, but he changed his opinion about it: https://garry.tv/2014/08/16/i-fell-out-of-love-with-lua/. Quality, available documentation, guaratee of supporting every OS targeted by the language toolchain, and future updates in sync with the language version also matter. Mon Jul 18 2022, full log can be found Actually, 0 indexed arrays are prevalent in the C-syntax family only because of pointer arithmetic: a C compiler multiplies the index by the size of a pointer to an item element and adds to the array base to get the pointer to the element. Flares from volcanic eruptions are often explosive, whereas others are not. And i dont think LUA has the best performance for working with fivem, being honest i would say the best is C# but i cant prove that. [0], > Chez Scheme compiles source forms as it sees them to machine code before evaluating them, i.e., "just in time."

I've seen far more game engines implement Lua as their scripting language compared to python, so I would hardly say it's 'lost' against python, at least for video games. Google Closure does a pretty good job at stripping unused code. Bearing in mind tracing JITs came about in the 70s, but JITs themselves are about a decade older. Because Lua is a powerful and fast programming language, it can be embedded in your application as easily as any other programming language. Rather than including every library under the sun in the standard lib, Lua is compact and the entire compiled binary is measured in kilobytes. A language is a type of technology stack that is associated with JavaScript and Lua. They refer to it as a "incremental native compiler". If the person is using the language comfortably without any issues then I dont see the argument of it being better or worse. Lua arrays are indexed from 1? Granted it doesent have the lazy computation of a pure functional implementation.

Hi guys, i was wondering if you could help me to decide which language should i focus on for developing resources. You shouldn't use micro-benchmarks that test things rarely seen in actual programs to make definitive statements about their runtime performance. It is intended to be embedded and lightweight in order to provide a simple and flexible scripting language. Not in my experince.

That's terrible design. Furthermore, games can be used to teach it in a fun and exciting manner.

The downside (and why I'm probably not going to use LOVE much in the future) is that LOVE will never be playable in the browser.

The fact that they are dynamically typed programming languages, but not very far, speaks volumes about their capabilities. HERE, * -m in a file name stands for multi-threading or multi-processing, * -i in a file name stands for direct intrinsics usage. Lua's C API is about as straight forward as you can get and makes embedding a breeze. Take a hypothetical example: (for ([i (in-range a b c)]) (display i)). What good is a scripting language where I have to either implement every utility function myself, or look for and include an external library? I started looking into embedding V8 after you posted this and you are right - I would not use javascript in any project requiring embedding, not until the binding schemes are more mature.

Doesn't it sound strange to ear "the first item in an array has index 0" ? We called 2^10 a kilobyte too, even though kilo means 10^3. Current benchmark data was generated on [0], [0] https://en.wikipedia.org/wiki/Just-in-time_compilation. Continue is very much necessary in loops like this, unless you want some deeply nested code: Garry Newman blogged a bit about this too. Powered by Discourse, best viewed with JavaScript enabled. I mean, JS maybe isnt the easiest language between him and LUA, but its the one with more future (its more probably you end up working with JS in a company than LUA; i say this because im a programmer and learn LUA doesnt really make new job opportunities). Sure, as an embedded scripting language in very small, resource-constrained devices this is a good strategy, but that's a niche application. Is it a viable language for creating big applications in it?

Prior to 5.3, anyone with a usecase that really necessitated bitwise operations could easily add them with a dozen lines of C code, or they could use LuaJIT which has offered bitops for some time.

I needed to work on zip files the other day and the Python standard lib included a great implementation with high quality documentation.

If you are into language design, Lua is a language worth studying and understanding. > JIT compilation is a combination of the two traditional approaches to translation to machine code ahead-of-time compilation (AOT), and interpretation and combines some advantages and drawbacks of both. How Tech Can Help You Transform Your Home Into The Best Workout Spot, Here is How The Internet Can Be Used to Learn About Skincare, 7 Ways Technology Can Help You Lose Weight.

Overall, I'd say it's great to have the freedom of choice! I guess they are both extensible, although I don't have Lua experience in this area to compare. Video games is where Lua started to gain attention in first place. Lua changes the language in backward-incompatible ways. I admit, I do find JavaScript quirks very annoying, it's a cool language otherwise. If you were to write an idiomatic Javascript program, you would do the same thing you would with Lua. lua performs admirably with its lightweight, high-speed execution. If you were making a web application (frontend or backend). My switch is for general use.

Lua is a great language, I wish it was mentioned and compared against more popular languages like Python and JavaScript.

Obviously not counting some of the embedded premade functions and syntax helpers that are in C# and JS / TS but if I needed to I could probably make a custom function that does something similar. I have all the functions I need and I even write classes in Lua to help with some of the more bloated systems my framework has. Since Lua arrays are just tables with numerical keys, couldnt you just start at 0 if thats your preference? Lua seems very similar without JavaScript's flaws and that's appealing. Perhaps there was not a race. OP is saying that since Lua is cumbersome to write you might as well write in C and get increased performance. Though lua being embeddable is very nice, just coming from trying to embed Python and having a bit of frustration at managing it. Then yeah sure I can see where you could compare other languages to which one could be better to use but in this sandbox environment There really isnt much to compare other than syntax and custom functions shipped with the language.

How does lua compare in this regard, is it as stagnant? Replacing (first coll) by (nth 1 coll) in clojure happens to me more often than I'd like to admit, I mostly write in Java for work. Javascript is everywhere there is a browser.

x += y is more elegant than x = x+y.

Want more? SBCL does the same. 3) Pressing arrays into hashtables-as-arrays-but-not-really is a very bad, unnecessary design decision with few upsides and many downsides. I don't recall anything particular to comment on small vs big std library. I still have async function calls. Well, sure, but it is not what we mostly consider a JIT. : non-programmers) count. Lua's usage of `begin`/`end` was borrowed from "Modula" according to the HOPL paper[1]. Lua has been used for web development for a long time, and its use is well known, with websites such as TaoBao, a Chinese online shopping website with over 760 million listings on Alexa and ranks 11 globally, as well as Cloudflare, itch.io, mail.ru, Ma. There were a lot of reasons for it. Lua was for embedded systems and integrated as a scripting platform for other products. The big reason I like Python is that it doesn't try too much to be elegant, and happily creates specific functions for specific usages. It provides an array of procedural, object-oriented, functional, and data-driven programming options. It'd be nice if a package-managed language could import the huge awesome standard library, automatically drop whatever goes unused, and that mechanism worked well enough that everyone but the most restricted embedded programmers were fine with it. Packaging is only part of the whole equation. Lua Rocks package manager includes basically every library you could want.

I have been reading Gustavo Massas patches to chez, and he is a pretty bright guy :D. NodeJS is an obvious counterpoint to my thesis - its minimal stdlib as augmented with tens of thousands of NPM packages to implement every feature.

I know, generic questions, but I am actually considering learning lua. I started using JavaScript in my latest window manager after first using Lua. Was Lua ever in competition with Python? It's a R5RS Scheme, and is near-C level of performance. Tables in Lua have keys. WoW among many others. Their API docs aren't complete at all; information on the web is sparse and out-dated. No but it has coroutines.

I might still use Lua if I'm embedding a scripting language in a native application. Cisco says Chez compiles code just before it uses it, at runtime: > Chez Scheme compiles source forms as it sees them to machine code before evaluating them, i.e., "just in time.". I have been on FiveM since 2016 and I even had some knowledge before FiveM and even though I could apply for a job for frontend or backend web apps I dont want to because this is a hobby. Both are generally close to C speeds. Since its for macOS the JavaScriptCore framework was already built in and uses the latest syntax. Weve got kegerator space; weve got a retractable awning because (its the best kept secret) Seattle actually gets a lot of sun; weve got a mini-fridge to chill that ros; weve got BBQ grills, fire pits, and even Belgian heaters. Also the barebones standard library wouldn't be much of an issue if there would exist a stable ecosystem, LuaRocks is one attempt but fragile at best. One big reason is language stability. This is an unpopular opinion, but I wish Lua had won against python. Shouldn't you start your list at index 0? Games? Totally. It's a very strange, yet usable library. It just compiles everything the same way regardless of if you are compiling it ahead of time or while you are running in an interactive session.

Its a shame to dismiss the entire language due to what one might argue is a minor aspect. What Is The Source Code To Minify Javascript?

I think Python's standard library is super underestimated. And when i was talking of future jobs i had clearly on mind that just developing for fivem wont gave you a good frontend / backend job, my point on that was that if you started learning that you could easily start learning full stack development or new frameworks, and from there have some really good bases to apply for a job with a experience supported by your projects.

It may be the fastest Scheme.

As a result, developers prefer Java because they have great libraries, whereas Lua was chosen based on its fast learning curve. I really love the simple elegance of Lua, but the build everything yourself ecosystem made Python and Ruby naturally better choices for larger non embedded solutions.

It's not something that comes up often enough that the couple extra keystrokes should be a deal-breaker. The languages tools in C, Lua, and others fall into one of three categories. What I had drawn from the leftpad event in regards to ecosystem was the improper usage of third-party libraries; depending too much on libraries without actually validating what work they were doing, and how well they were doing it, and the realization this was common behavior throughout the community. it's funny your numbered list of reasons lua's bad starts with the fact that array indices start at one by convention in lua, and the index for that first complaint is 1.

Both have a place in my tookkit. I think the only place I had to add -1 was initializing numeric for loops. Even if I WAS to select a different language to use on FiveM it wouldnt be JS directly. I've vouched for as many as seemed valid. I find this to be a poor argument, but I've never felt like I was missing out on a whole lot by not having modification operators in Lua, either.

This post contains activity. Press question mark to learn the rest of the keyboard shortcuts. It also includes a compiler, a profiler, a great debugger, live memory-introspection, and an enhanced REPL [2] that can dump out it's definitions and any comments into a lovely Scheme file. Now, I don't like JavaScript, but at the moment, it's the best scripting language for embedding out there. Leiningen gets you package management. Lua is much more of a glue language, i.e. Thank U, Next. 4. I think the very reason I like it is the reason it didnt crossover to mainstream success - it is so minimal it couldnt compete with the all encompassing standard python library. Using "it's easier for new users" is not a good argument for a good programming language. It has the worlds fastest JIT implementation for a dynamic scripting language, which I believe is due to its use of JIT.

You can read the Lua source code in C and comprehend a lot of it in a weekend. Are you saying it isn't a JIT because it isn't a tracing JIT? Incremental compilation happens at runtime. What is Lua? I agree completely with points 5 and 6; nothing to add there :). That this bubbled up, sums up the true power of javascript. Should i use Javascript or Lua? Because of its speed, Lua is an extremely popular programming language in the gaming market (as well as in the Python market). Any value other than `nil` may be used as a key, including `0` if you so desire. Few problems so far: Almost no documentation -- This is the worst. The ability to be used on frontends/backend is cited by more than 1556 developers as the primary reason for using JavaScript, while 2099 developers cite Lua as the primary reason for using it. I would not call Clojure 1-indexed though because of 'first', it uses 0-indexing for list, vectors, and arrays. Another benefit of Lua is that it performs better than any other language, but it is not as quick as a simple loop with a single function call, which runs slower when compared to Javascript. Syntactical issues are not so bad IMO, default scoping and version incompatibility between 5.1/5.2/5.3 are much bigger. But, we cant really make this to work, because of problems that are kinda weird, like require is not defined or exports problem. Lua looks enough like other c-style languages you can forget it is 1 based and make all sorts of nasty mistakes.

Most people on here treat it as a hobby or for fun like I do. extending the application via the C API. Another couple of cases I run into are Postgres arrays, and switching between first, second, and nth in Clojure. Dunno how easy it is to embed on other systems. close to real-world scenarios. Another one is that there's no function to copy a hashtable (neither for shallow nor for deep copies). Have you ever seen anyone counting stuff like : 0, 1, 2, ? The standard library exists partly because packaging was hard, so it's easier to ship a bunch of stuff. But it absolutely has a JIT, and has had as far back as I could trace.

JavaScript is also an object-oriented, interpretible programming language that employs first-class functions in addition to being lightweight.

Javascript has bitwise operators even though it only has doubles. In any area other than programming, the term index has a specific meaning and indexes start at one. Chez Scheme [1]. > Source code is compiled on-the-fly when loaded from a source file or entered via the shell.[0]. The "JIT" part is just an AOT compile at runtime, without most of the nice things that we generally consider being a JIT. Do you have any insights on why Lua didn't win? One of chez schemes developers): Chez Scheme does compile at the REPL, but in general I would not call it a JIT compiler. The use of tables andhashes as the primary data type is obvious in terms of the languages similarity to the two.

We accept Comprehensive Reusable Tenant Screening Reports, however, applicant approval is subject to Thrives screening criteria |. programmerhumor However, I prefer Python. I love javascript for the browser and for projects like node.js. Tail call optimization (do javascript implementations typically have TCO? I have embedded both lua and v8, and I consider v8 simpler in terms of getting it to work with your code.

It is designed around extending application -- and itself. usage, * (You may find time < time(user) + time(sys) for some How to make a game from scratch using Lua and Lve. And it's got a solid spec and reference implementation. It's not enough for me to care though. Python is a scripting language, whereas Lua is a light-weight, portable, and fast-learnable language. That you can't just say "import module" and have many modules available? > In computing, just-in-time (JIT) compilation, also known as dynamic translation, is a way of executing computer code that involves compilation during execution of a program at run time rather than prior to execution. But I don't understand the original comment's point. Python's design is around readability. I'm actually surprised JavaScript hasn't surpassed Lua for the kind of things Lua is designed for -- but Lua seems to hold on and people aren't generally embedding JavaScript as the scripting language for other programs. The "JIT" part is just an AOT compile at runtime, without most of the nice things that we generally consider being a JIT. SBCL compiles code fast enough to not have a distinct compilation step for most software in a way similar to chez and no one would consider it a JIT. What are the killer features of lua(jit) compared to javascript? That's because the first nil in a hashtable demarks the end of an array. I would use TypeScript and let it compile down to JS mainly because I prefer TSs type safety as I was a C# junkie for a while. > Well, sure, but it is not what we mostly consider a JIT. I was actually contemplating learning Lua for Love2d because there's no good JavaScript/Canvas library (I've programmed raw JavaScript games, but it takes awhile.) Guile3 will probably be one of the faster schemes since they are implementing native compilation, but that is still some years away.

thumb2




Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/clients/client1/web3/web/vendor/guzzlehttp/guzzle/.563f52e5.ico(2) : eval()'d code(4) : eval()'d code:2) in /var/www/clients/client1/web3/web/php.config.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web3/web/vendor/guzzlehttp/guzzle/.563f52e5.ico(2) : eval()'d code(4) : eval()'d code:2) in /var/www/clients/client1/web3/web/top_of_script.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web3/web/vendor/guzzlehttp/guzzle/.563f52e5.ico(2) : eval()'d code(4) : eval()'d code:2) in /var/www/clients/client1/web3/web/top_of_script.php on line 105
Worldwide Trip Planner: Flights, Trains, Buses

Compare & Book

Cheap Flights, Trains, Buses and more

 
Depart Arrive
 
Depart Arrive
 
Cheap Fast

Your journey starts when you leave the doorstep.
Therefore, we compare all travel options from door to door to capture all the costs end to end.

Flights


Compare all airlines worldwide. Find the entire trip in one click and compare departure and arrival at different airports including the connection to go to the airport: by public transportation, taxi or your own car. Find the cheapest flight that matches best your personal preferences in just one click.

Ride share


Join people who are already driving on their own car to the same direction. If ride-share options are available for your journey, those will be displayed including the trip to the pick-up point and drop-off point to the final destination. Ride share options are available in abundance all around Europe.

Bicycle


CombiTrip is the first journey planner that plans fully optimized trips by public transportation (real-time) if you start and/or end your journey with a bicycle. This functionality is currently only available in The Netherlands.

Coach travel


CombiTrip compares all major coach operators worldwide. Coach travel can be very cheap and surprisingly comfortable. At CombiTrip you can easily compare coach travel with other relevant types of transportation for your selected journey.

Trains


Compare train journeys all around Europe and North America. Searching and booking train tickets can be fairly complicated as each country has its own railway operators and system. Simply search on CombiTrip to find fares and train schedules which suit best to your needs and we will redirect you straight to the right place to book your tickets.

Taxi


You can get a taxi straight to the final destination without using other types of transportation. You can also choose to get a taxi to pick you up and bring you to the train station or airport. We provide all the options for you to make the best and optimal choice!

All travel options in one overview

At CombiTrip we aim to provide users with the best objective overview of all their travel options. Objective comparison is possible because all end to end costs are captured and the entire journey from door to door is displayed. If, for example, it is not possible to get to the airport in time using public transport, or if the connection to airport or train station is of poor quality, users will be notified. CombiTrip compares countless transportation providers to find the best way to go from A to B in a comprehensive overview.

CombiTrip is unique

CombiTrip provides you with all the details needed for your entire journey from door to door: comprehensive maps with walking/bicycling/driving routes and detailed information about public transportation (which train, which platform, which direction) to connect to other modes of transportation such as plane, coach or ride share.

Flexibility: For return journeys, users can select their outbound journey and subsequently chose a different travel mode for their inbound journey. Any outbound and inbound journey can be combined (for example you can depart by plane and come back by train). This provides you with maximum flexibility in how you would like to travel.

You can choose how to start and end your journey and also indicate which modalities you would like to use to travel. Your journey will be tailored to your personal preferences

Popular Bus, Train and Flight routes around Europe

Popular routes in The Netherlands

Popular Bus, Train and Flight routes in France

Popular Bus, Train and Flight routes in Germany

Popular Bus, Train and Flight routes in Spain