[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/g/ - Technology


Thread archived.
You cannot reply anymore.



File: 11781f13_0.jpg (8 KB, 327x327)
8 KB
8 KB JPG
python is good but what is better?
guile 3? javascript, ruby, go, perl?
lua for games?
>>
File: GNU-Guile-logo.svg.png (57 KB, 1200x646)
57 KB
57 KB PNG
>>70982146
guile unironically

use guix
>>
>>70982146
What kind of scripting?

>Embedded scripting
Guile, Lua if you must

>shell scripting
POSIX shell, Bash

>general glue
Python is everywhere.
>>
>>70982146
php
>>
what does scripting mean?
>>
>>70982146
python is fucking retarded, the pythonic way of writing things is unreadable
using formatting as syntax is just stupid

i would rather use javascript than that joke of a language
>>
>>70982253
I guess he means system scripts.
Depending on the job I use shell scripts or python for things bash is not capable of. Switching to golang
>>
>>70983317
If you write something small to do a specific task for you, it's a script. Once it inevitably gets out of control, it becomes a program.
>>
>>70982146
the latest javascript is pretty comfy
>>
>>Scripting language
Powershell
If you're running Windows it's a no brainer. If you're a windows sys admin and want to move up to dev ops then it's a the skill to learn
>>
Scripting and programming are the same thing.
>>
>>70983569
wrong again, idiot
>>
>>70983569
maybe

he clearly means JIT or interpreted
>>
>>70983601
What's the difference then?
>>
>>70982146
Fuck off programming 101 student.
>>
Turbo pascal
>>
>>70985360

this
>>
>>70983607
see
>>70983603
>>
File: 1545549574217.jpg (109 KB, 823x744)
109 KB
109 KB JPG
>>70983459
>>
>>70983607
Scripting is what you do, programming is for professionals such as myself.
>>
>>70982146
Perl. TMTOWTDI.
>>
File: 1555912665153.png (127 KB, 782x758)
127 KB
127 KB PNG
>>70983933
>NOOOOO I CANT PROGRAM IN PYTHON I AM A PROGRAMMING 102 STUDENT AND HAVE TO SHOW HOW ADVANCED I AM OVER THOSE NOOBS IN 101
>>
>>70982146
php7 is underappreciated in non-web stuff.
>>
>>70982146
>go
Are you legitimately retarded? In what world is go a scripting language?
>>
>>70987972
Please elaborate anon
>>
JavaScript and/or typescript
>>
>>70987323
And what do you do?
>>
Tcl
>>
>>70982146
Don't use Ruby. You'll have to interact with the biggest faggots in the world if you mess with that.
>>
>>70988847
Tcl/Tk is pretty nice.
>>
>>70982253
>lua
Why would anyone ever use this piece of shit?
Made by a Bra*ilian no less
>>
>>70988128
Decent speed, it allows parameter and return value type checking (which compensates for the weak typing), it has good arrays, bindings for many libraries, and many just generally useful functions.
>>
>>70982146
> scripting language
what a fucking moron.
>>
File: 1542878403025.png (346 KB, 1080x971)
346 KB
346 KB PNG
>>70983389
>If you write something small to do a specific task for you, it's a script. Once it inevitably gets out of control, it becomes a program
>>
I was seriously about to make the exact same thread. I don't like python or Perl.
Anyone tried Julia?
>>
>>70983459
Unironically this.

>>70987312
Try writing fizzbuzz in PowerShell. The code is elegant, readable, and practical in a development environment. You will be converted instantly.
>>
>>70994092
its for simple games
>>
a = 10

def wtf():
a+=a

wtf()

>local variable ‘a’ referenced before assignment

mfw this language is that retarded
>>
>>70983317
Scripting languages aren't compiled and are interpreted by the machine at run time. Usually used for small tasks or websites, not full programs.
>>
>>70996213
>>
>>70996213
Make it global or pass it as argument you drooling troglodyte
>>
Python is literally interpreted pseudo code
>>
>>70996257
Yeah no shit you fucking moron, but by not using a keyword to declare your variables to make the language script kiddie friendly means you must then consider any variable in the scope of a fucking for loop a local variable by default. Name one other language that fucking does that.
>>
>>70982253
>Python is everywhere.
So are roaches and rats.
>>
>>70990988
Its small and efficient which makes it good for embedding in larger applications written in a static language like C or C++.
>>
>>70996272
It’s no wonder that shitlets who act cocky in programming 101 “cuz muh python game” neck themselves when they see something like C++
>>
File: haskell.png (76 KB, 400x400)
76 KB
76 KB PNG
>>70982146
Haskell is the most powerful programming and scripting language. Python is second.
>>
idk i program in ruby at work and its kinda comfy. its object oriented, fast, and feels bretty functional.
>>
I really like node js. It's easy to write, faster than python, has a huge ecosystem, installing packages and libraries is dumb easy, and it can be used front end and back end.
>>
>>70996325
>efficient
No. It's absolutely dogshit slow but the point is you can call C from it so when something becomes a bottleneck, you can just write that part in C. So you have a C/C++ (or any other language really but these two are the most obvious choices for pairing with Lua) program that you extend with Lua but to make it faster you embed C in Lua as well.
>>
>>70996353
>Python is second.
That would be PHP
>>
>>70996353
> Haskell
> Most powerful
Come back when you can program in forth brainlet
>>
File: guile.png (15 KB, 240x240)
15 KB
15 KB PNG
can guile realistically compite against python?
>>
>>70996353
Nope. Lisp is.
Haskell is still good though.
>>
>>70998137
The language itself is objectively better.
Unfortunately, it can't compete when it comes to third party library availability, at least for now.
>>
>>70998346
is it a better "general glue" than python?
>>
for me, it's Java. Java is literally the most based language. for anything web related I will use Ruby. before you ask--yea, I am a proud cuck.
>>
>>70997291
I wrote a Forth in Haskell, can you write a Haskell in Forth?
>>
>>71000563
>I am a proud cuck

based cuck
>>
>>70988452
he programs, obviously
>>
>>70994092
not sure why you'd use julia if you aren't doing anything with mathematical computing
>>
>>71000748
Julia is fine for general stuff if you are ok rolling a lot of it yourself. The JIT is fast, it has all of the concurrency and parallelism included, and the multiple-dispatch system is very powerful. It even has optional typing, which puts it a step above most dynamic languages.
>>
>>70998137
If we're talking lisps then Clojure on Graal
>>
File: pizza_cat.jpg (113 KB, 631x537)
113 KB
113 KB JPG
>>70982146

JavaScript is literally more performant than Python. Python is so stupid slow it's fucking disgusting.
>>
>>71000874
but javascript is also javascript
>>
>>71000886

I'll give you that, but Python is a meme language for babies and script kiddies.
>>
>>70982146
Anything that can detect a misspellt variable at compile time. Anything with immutable, declared types. Anything statically compiled.
>>
>>71002525
Why do you advocate for immutability in a script?


Btw Gluon, a script lang written in rust, matches your characteristics
>>
>>71002672
Because that throwaway script from last week will always live beyond its expiration date and grow beyond 100 lines of code. Unless its original developers that are almost always a bunch of flaccid pussy faggots are forced to throw it away it won't be a "script" for much longer.

I know and there are much more. Languages like Python and Ruby only are around a prelengthened period of time because retards in the 90s fell for the dynamic meme and it will some additional decades to deal with the damage.
>>
>>71002714
What is an example of a good script lang then?
>>
>>71002995
C++



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.