KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
polyglot-programming
★ 23
Open GitHub ↗
Examples in multiple languages
Download README (.md)
Explore Similar Repositories
distilabel-spin-dibt
:
Repository containing the SPIN experiments on the DIBT 10k ranked prompts
SMM2Calculator
:
马造2微操计算器 Super Mario Maker 2 Calculator
zcrun
:
linux container runtime built with zig
Sito-web-lavoro-di-gruppo-INFORMATICA
:
In questa repository è presente un sito web (creato per un lavoro di gruppo a riguardo) programmato in HTML, CSS e JavaScript raffigurante una pasticceria esempio (non veritiera)
Futures-Spot-Arbitrage-Binance-V1
:
Futures-Spot-Arbitrage-Binance-V1
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
polyglot-programming
?
Download (.md)
<img src="doc/typescript-original.svg" width="128"/> <img src="doc/go-original-wordmark.svg" width="128"/> <img src="doc/rust-original.svg" width="128"/> <img src="doc/java-original-wordmark.svg" width="128"/> <img src="doc/c-original.svg" width="128"/> <img src="doc/haskell-original.svg" width="128"/> # Polyglot Programming These are practice tasks based on multiple programming languages simultaneously. ## Inspiration I was inspired by ThePrimeagen's course ["Polyglot Programming: TypeScript, Go, & Rust"](https://frontendmasters.com/courses/typescript-go-rust/) to start this repository. ## Language TypeScript, Go, Rust and Java are currently in this repo, but I might add more languages later. ## Source Code The code is in the `src/` folder. ## Installation of Programming Language Tools First, the TypeScript, Go, and Rust tools must be installed. - [Install TypeScript (Node.js)](https://nodejs.org/en) - [Install Go](https://go.dev/doc/install) - [Install Rust](https://www.rust-lang.org/tools/install) - [Install Java SE with Amazon Corretto](https://aws.amazon.com/corretto/?filtered-posts.sort-by=item.additionalFields.createdDate&filtered-posts.sort-order=desc) also [Install Maven](https://www.baeldung.com/install-maven-on-windows-linux-mac) - [Install MinGW, Windows for compiling C language](https://code.visualstudio.com/docs/cpp/config-mingw) also [How to Install MinGW](https://semicolon.dev/windows/how-to-install-mingw-gcc-g-compiler-windows-10-11-2023) - [Install GHCup for Haskell](https://www.haskell.org/ghcup/) ## Running the Code Go to the language folder then execute the following: ### Typescript 1. `npm install` (for the first time to install packages) 1. `npm run dev` (to run the program) ### Go `go run .\filename.go` for example: `go run .\dog_age_calculator.go` ### Rust `cargo run` ### Java ``` mvn compile mvn package mvn exec:java -Dexec.mainClass="com.yourpackage.MainClass" ``` ### C ``` gcc -o dog-age-calculator main.c ``` ### Haskell ``` ghc .\main.hs ``` ## License Please see the [LICENSE file](LICENSE). ## History Started in March, 2024. ## Icon Credits Icons are used from [devicons / devicon](https://github.com/devicons/devicon) under MIT license. The MIT License (MIT) Copyright (c) 2015 konpa.