Skip to content

Latest commit

 

History

History
executable file
·
162 lines (120 loc) · 10.9 KB

Programming-Paradigms.md

File metadata and controls

executable file
·
162 lines (120 loc) · 10.9 KB

Programming Paradigms

Packages and resources that support various programming styles, Software Architecture and CS paradigms.


  • Automa.jl :: A julia code generator for regular expressions - this package can do text validation, parsing, and tokenizing based on state machine compiler.
  • BitRegs.jl :: Julia package for bit and register operations.
  • ChainMap.jl :: Combine chaining and mapping.
  • FemtoCleaner.jl :: It cleans your julia projects by upgrading deprecated syntax, removing version compatibility workarounds and anything else that has a unique upgrade path, and is designed to be as style-preserving as possible, but does not perform code formatting.
  • IniFile.jl :: Reading and writing Windows-style INI files.
  • InterVal.jl :: Intervals are inter-values, an interval is its values and their intra-values.
  • JLD.jl :: HDF5 interface for the Julia language to save and load julia variables while preserving native types.
  • JSON.jl :: JSON parsing and printing.
  • LilKanren.jl :: A collection of Kanren implementations in Julia. miniKanren is an embedded Domain Specific Language for logic programming.
  • MacroTools.jl :: A library providing helpful tools for writing macros, notably a very simple templating system with some functions (see utils.jl)
  • Turing.jl :: Probabilistic programming in Julia.
RESOURCES


Reactive Programming

  • Reactive.jl :: A package for reactive programming in Julia.

  • ModelingToolkit.jl :: A toolkit for modeling and creating DSLs for Scientific Computing in Julia.

Grammatical Evolution

  • Evolution.jl :: Evolutionary Computation in Julia.
  • GrammaticalEvolution :: An evolutionary technique that is similar to Genetic Programming (GP). However, unlike GP, it doesn't suffer the same problems with fixing damaged trees. Instead, it uses a grammar that is combined with a genome of integers. The genome is used to select which branch to follow for or-rules.

  • ImportMacros.jl :: Provides three macros: @import and @using which loads a module and binds it to an alias, and @from which loads an object from a module and binds it to an alias.
  • MacroUtils.jl :: Collection of Julia macros.
  • MetaMerge.jl :: Merge functions with identical names from distinct modules.
  • RegexVar.jl :: A macro to fill variables straight from the string.
  • Reexport.jl :: Julia macro for re-exporting one module from another.
  • TimeIt.jl :: Timeit macro for Julia.
  • Unroll.jl :: A julia macro for unrolling conditional for loops.
  • UTime.jl :: Universal Time using local system timezone.
  • ForceImport.jl :: Macro that force imports conflicting methods in Julia modules
Resources

Multi-Threading

  • KissThreading.jl :: Simple patterns supporting working with threads in Julia.
  • OCCA.jl :: Julia interface into OCCA2 by @tcew, an extensible multi-threading programming API written in C++.
  • TiledIteration.jl :: Julia package to facilitate writing mulithreaded, multidimensional, cache-efficient code.

  • NotInferenceDontLookHere.jl :: Package to help with Inference development. This is not inference. However, it does help you with developing inference by loading a separate copy of inference into this package and hooking up Revise. This allows you to easily test changes to inference in isolation.
  • SyntaxTree.jl :: Toolset for modifying Julia AST and characteristic values.
  • Cassette.jl :: a Julia package that provides a mechanism for dynamically injecting code transformation passes into Julia’s just-in-time (JIT) compilation cycle, enabling post hoc analysis, optimization, and modification of "Cassette-unaware" Julia programs.
  • Revise.jl :: Automatically update function definitions in a running Julia session. It will help you keep your sessions running longer, reducing the need to restart Julia whenever you make changes to code.

Libs for memory management (malloc), bounds checking, literals and other base program analysis options.

  • ASTInterpreter2.jl :: Re-write of ASTInterpreter for julia 0.6+.
  • CallGraphs.jl :: A package for analyzing source-code callgraphs, particularly of Julia's src/ directory. The main motivation for this package was to aid in finding all functions that might trigger garbage collection by directly or indirectly calling jl_gc_collect; however, the package has broader uses.
  • dataflow.jl :: Introduction to dataflow analysis using julia.
  • ExpressionPatterns.jl :: Match, Destructure and Dispatch on expressions.
  • LRUCache.jl :: An implementation of a Least Recently Used (LRU) Cache.
  • PAPI.jl :: Julia bindings to the Performance Application Programming Interface (PAPI).
  • StatProfilerHTML.jl :: Show Julia profiling data in an explorable HTML page.

Multiple Dispatch

Resources

Serialization

  • Spock.jl :: An interface to Apache Spark for the Julia language.

STATIC ANALYSIS

Static Program Analysis

  • Lint.jl :: A lint tool to hunt for imperfections and dodgy structures that could be improved for Julia code.
  • Quantity.jl :: Numbers with units.
  • StackTraces.jl :: Intuitive, useful stack traces for Julia.

Style Guidelines