Programming Languages

mspstrath,
@mspstrath@mastodon.acm.org avatar

We are pleased to officially announce that we are organising the Scottish Programming Languages and Verification Summer School 2024!

Registration will be open later this month!

We are kindly supported by SICSA and Bronze Level supporter: Well-Typed!

For more details, and to see what we have in store, visit:

https://scottish-pl-institute.github.io/splv/2024-strathclyde/

(1/n)

mspstrath,
@mspstrath@mastodon.acm.org avatar

Call For Sponsorship: 2024

We are organising the 2024 Scottish and Summer School!

Industry support is welcomed. Please see below for how your company can help us.

https://scottish-pl-institute.github.io/splv/2024-strathclyde/call-for/sponsorship/

General registration will be opening soon!

abucci,
@abucci@buc.ci avatar

A weird thing about being 50 is that there are programming languages that I've used regularly for longer than some of the software developers I work with have been alive. I first wrote BASIC code in the 1980s. The first time I wrote an expression evaluator--a fairly standard programming puzzle or homework--was in 1990. I wrote it in Pascal for an undergraduate homework assignment. I first wrote perl in the early 1990s, when it was still perl 4.036 (5.38.2 now). I first wrote java in 1995-ish, when it was still java 1.0 (1.21 now). I first wrote scala, which I still use for most things today, in 2013-ish, when it was still scala 2.8 (3.4.0 now). At various times I've been "fluent" in 8086 assembly, BASIC, C, Pascal, perl, python, java, scala; and passable in LISP/Scheme, Prolog, old school Mathematica, (early days) Objective C, matlab/octave, and R. I've written a few lines of Fortran and more than a few lines of COBOL that I ran in a production system once. I could probably write a bit of Haskell if pressed but for some reason I really dislike its syntax so I've never been enthusiastic about learning it well. I've experimented with Clean, Flix, Curry, Unison, Factor, and Joy and learned bits and pieces of each of those. I'm trying to decide whether I should try learning Idris, Agda, and/or Lean. I'm pretty sure I'm forgetting a few languages. Bit of 6502 assembly long ago. Bit of Unix/Linux shell scripting languages (old enough to have lived and breathed tcsh before switching to bash; I use fish now mostly).

When I say passable: in graduate school I wrote a Prolog interpreter in java (including parsing source code or REPL input), within which I could run the classic examples like append or (very simple) symbolic differentiation/integration. As an undergraduate I wrote a Mathematica program to solve the word recognition problem for context-free formal languages. But I'd need some study time to be able to write these languages again.

I don't know what the hell prompted me to reminisce about programming languages. I hope it doesn't come off as a humblebrag but rather like old guy spinning yarns. I think I've been through so many because I'm never quite happy with any one of them and because I've had a varied career that started when I was pretty young.

I guess I'm also half hoping to find people on here who have similar interests so I'm going to riddle this post with hashtags:

#C #R

abucci,
@abucci@buc.ci avatar

@BoydStephenSmithJr How do you find using Haskell in a work setting? I always feel like I'm under time pressure and don't have as much as I would like to think through a design. I'm never satisfied with my Scala code for that reason and I feel like it'd feel even worse with Haskell since it's so much more concise.

Am not familiar with GMDTT, will have to check that out! So many things to learn 🤯

BoydStephenSmithJr,
@BoydStephenSmithJr@hachyderm.io avatar

@abucci This is my second Haskell job and I'm sure things will depend on the organization around you, but I just do the first thing that I can think of that "will work", make it as simple / concrete / specialized as possible until I have something that compiles without warnings, and only then do I let myself generalize / abstract things. Try to stick documentation on all new top-level bindings while my motivation is fresh, and allow myself to rewrite later.

YMMV, HTH

itnewsbot,
@itnewsbot@schleuss.online avatar

The White House Memory Safety Appeal is a Security Red Herring - In the Holy Programming Language Wars, the lingua franca of system programming – a... - https://hackaday.com/2024/02/29/the-white-house-memory-safety-appeal-is-a-security-red-herring/

bremner,
@bremner@mathstodon.xyz avatar

Dear

I'm currently looking at annotations / decorations to a research programming language to estimate runtime non-asymptotically (i.e. gimme a number) in a simple execution model. I thought there might be (have been) some similar projects, but I'm not really sure where to look. I vaguely remember some work on proving loop bounds (e.g. polyhedrally). Any hints?

gregorni, (edited )
@gregorni@fosstodon.org avatar

What kind of programming language syntax is more helpful for someone absolutely new to programming, with no prior experience?

  • Something innovative that makes explaining concepts incredibly easy
  • Something more traditional that they can apply to a lot of languages when they move on

Feel free to give reasons down below!

sonny,
@sonny@floss.social avatar

@gregorni

It's a great question. I picked “Traditional” because it helps with expectation management.

We definitely should make it more accessible, but programming isn't for everyone and that's fine.

itnewsbot,
@itnewsbot@schleuss.online avatar

Python developers won’t let go of Python 2 - Python 3 was by far the choice over Python 2 in a late-2022 survey of more than 23,000... - https://www.infoworld.com/article/3707798/python-developers-wont-let-go-of-python-2.html#tk.rss_all

chksome,

@itnewsbot Wow. Those python 2 users must have some really crusty codebases.

lucy_idk, (edited )
@lucy_idk@mastodon.world avatar
lucy_idk,
@lucy_idk@mastodon.world avatar

@d_k_bo
d_k_boyou are right. I wanted to share it with my mastodon account, but then there is only the url and not the picture in the post. Maybe there is a way i didn't see. so i took the meme and credited with the source and shared it with my community. It becames funny bc @programmerhumor then reposted my repost from their meme.. so a new dimension is createt ^2

@Chais

TeaHands,
@TeaHands@lemmy.world avatar

For future reference if you tag the Lemmy community in a reply instead of the top-level toot it won’t do this 😄

causalislands,

Join us tomorrow for Episode 3 of the Causal Islands Podcast!

We're speaking with special guests Jon Corbett about acimow/Cree#, his Cree programming language, and @nasser about Alb, his Arabic programming language.

If you are passionate about programming languages, you won't want to miss this one. https://lu.ma/causalislandspodcast

causalislands,

@liaizon @nasser Fixed! Thanks for the heads up!

liaizon,
@liaizon@wake.st avatar

@causalislands Where is the Podcast? Why do I need to signup for something? I see no indication of why you are collecting Name and Email to listen to a podcast? And when I put in a fake name and email it doesn't proceed to give me a link or any information without "confirming" that email address (that I can't confirm cause its fake)

gregorni,
@gregorni@fosstodon.org avatar

Is there a compiled programming language with a Python-like syntax?

foxylad,
@foxylad@mastodon.nz avatar

@gregorni @nedbat @boracle You're asking for a compiler to check types that you don't specify. That's like asking a coder to write you an app without saying what you want the app to do.

So ask an LLM, I guess...

gregorni,
@gregorni@fosstodon.org avatar

@foxylad @nedbat @boracle It is possible for the compiler to infer the type of a variable based on just the code, not annotations; see my previous posts for examples:

https://fosstodon.org/@gregorni/110985092181002321

https://fosstodon.org/@gregorni/110985075513076379

abnv,
@abnv@fantastic.earth avatar

Finished reading "Type Systems for Memory Safety" https://borretti.me/article/type-systems-memory-safety by Fernando Borretti. It is a comprehensive review of various type system features across different that are used to enforce (varying degrees of) memory safety at compile time.

As expected, it talks a lot about because Rust is probably the most used PL with compile time memory safety, but it features other languages like Ada, Val and Austral as well.

An interesting read if you are interested in .

MistressPrime,
@MistressPrime@anti-social.online avatar
DelftPL,

The Software Technology department at TU Delft is hiring new assistant and associate professors! This is an open call for any research field within one of our groups, so if you are a PL researcher and are interested to join us you are very welcome to apply. You can find more information about the positions and the application procedure at https://www.tudelft.nl/ewi/over-de-faculteit/afdelingen/software-technology/computer-science-open-call.

uliwitness,
@uliwitness@chaos.social avatar

My scripting language has the concept of "everything is a string". So, to the user, it all looks like strings, but of course under the hood I want to infer types based on operations to make things faster. In the past, I've made my variables variants that can change type.

nicklockwood,
@nicklockwood@mastodon.social avatar

@uliwitness I do something very similar for ShapeScript. The language is strongly-typed, with values being represented by an enum (Swift's enums are really great for this), but I wanted to hide the complexities of types from the user as much as possible, so conversion to (and in some cases, from) string just happens automatically.

uliwitness,
@uliwitness@chaos.social avatar

@nicklockwood It has no bitwise ops. Though given HyperTalk is aimed at beginners, not existing C programmers, and bit manipulation is kind of advanced, you could probably make it a built-in function. Bit manipulation itself would probably be a chunk expression (as in ‘bit 1 of myVar’, you can already do ‘line 1 of myVar’ etc.).

racketlang,
@racketlang@functional.cafe avatar

Programming Languages: Application and Interpretation
Shriram Krishnamurthi
Brown University

3rd Edition

https://www.plai.org

@shriramk

itnewsbot,
@itnewsbot@schleuss.online avatar

White House urges developers to dump C and C++ - US President Joe Biden’s administration wants software developers to use memory-safe p... - https://www.infoworld.com/article/3713203/white-house-urges-developers-to-dump-c-and-c.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

10 tips for speeding up Python programs - By and large, people use Python because it’s convenient and programmer-friendly, not b... - https://www.infoworld.com/article/3044088/11-tips-for-speeding-up-python-programs.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

TypeScript soothes type narrowing pain point - TypeScript 5.4, a planned update to the strongly typed JavaScript variant from Microso... - https://www.infoworld.com/article/3713303/typescript-soothes-type-narrowing-pain-point.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

OpenJDK proposal would streamline Java records creation - Java developers would gain an easier way to create records, and more streamlined code ... - https://www.infoworld.com/article/3713268/openjdk-proposal-would-streamline-java-records-creation.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

What is JavaScript? The full-stack programming language - JavaScript is a wildly popular interpreted scripting language that was the most in-dem... - https://www.infoworld.com/article/3441178/what-is-javascript-the-full-stack-programming-language.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

Rust developers concerned about complexity, low usage - While the use of Rust language by professional programmers continues to grow, Rust use... - https://www.infoworld.com/article/3713264/rust-developers-concerned-about-complexity-low-usage.html#tk.rss_all

itnewsbot,
@itnewsbot@schleuss.online avatar

The NSA list of memory-safe programming languages has been updated - The US government says it would be better for them if you ceased using C or C++ wh... - https://readwrite.com/the-nsa-list-of-memory-safe-programming-languages-has-been-updated/ -safety

itnewsbot,
@itnewsbot@schleuss.online avatar

Java virtual threads hit with pinning issue - Java’s virtual threads, introduced in JDK 21 in September 2023 to make it easier to wr... - https://www.infoworld.com/article/3713220/java-virtual-threads-hit-with-pinning-issue.html#tk.rss_all

remixtures, Portuguese
@remixtures@tldr.nettime.org avatar

#BASIC #ProgrammingLanguages #ComputerScience: "Sixty years ago, on May 1, 1964, at 4 am in the morning, a quiet revolution in computing began at Dartmouth College. That's when mathematicians John G. Kemeny and Thomas E. Kurtz successfully ran the first program written in their newly developed BASIC (Beginner's All-Purpose Symbolic Instruction Code) programming language on the college's General Electric GE-225 mainframe.

Little did they know that their creation would go on to democratize computing and inspire generations of programmers over the next six decades."

https://arstechnica.com/gadgets/2024/05/the-basic-programming-language-turns-60/?utm_brand=ars&utm_source=twitter&utm_social-type=owned&utm_medium=social

itnewsbot,
@itnewsbot@schleuss.online avatar

Rust users concerned about complexity, low usage - While the use of Rust language by professional programmers continues to grow, Rust use... - https://www.infoworld.com/article/3713260/rust-users-concerned-about-complexity-low-usage.html#tk.rss_all

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ProgrammingLanguages
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines