Skip to content

Latest commit

 

History

History
executable file
·
199 lines (147 loc) · 14.1 KB

Programming-Paradigms.md

File metadata and controls

executable file
·
199 lines (147 loc) · 14.1 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.
  • CodeTracking.jl :: An extension of Julia's InteractiveUtils library that provides an interface for obtaining strings and expressions of method definitions, method signatures, etc.. designed to work with Revise.jl (for versions v1.1.0 and higher).
  • Eyeball.jl :: is an object and type viewer for Julia that exports one main tool to browse Julia objects and types.
  • 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

Implementations of numerical algorithms for computations in systems and control theory.

Resources
  • control-flow :: Conditional loops and Control flow constructs.

Reactive Programming

  • Reactive.jl :: A package for reactive programming in Julia.
  • Rocket.jl :: A functional reactive programming extensions library for 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.


Language Comparison

  • Basic Language Comparison :: Basic Comparison of Various Computing Languages, eg. Python, Julia, Matlab, IDL, R, Java, Scala, C, Fortran.

  • ForceImport.jl :: Macro that force imports conflicting methods in Julia modules
  • FromFile.jl :: This package exports a macro @from, which can be used to import objects from files, so you will never have to write include again.
  • 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.
  • LoopVectorization.jl :: Macro(s) for vectorizing loops.
  • 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.
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.
  • IRTools.jl :: Intermediate Representation toolkit to provide a simple and flexible IR format, expressive enough to work with both lowered and typed Julia code, as well as external IRs. It can be used with Julia metaprogramming tools such as Cassette.
  • 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.
  • Lens.jl :: A simple Julia library to inspect the runtime behaviour of your programs, with minimal interference to the program itself.
  • 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

  • BinaryTraits.jl :: easy-to-use trait library with formal interface specification support.
  • WhereTraits.jl :: This package exports one powerful macro @traits with which you can extend Julia's where syntax.
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