RSS feed [root] /languages /weblog




login:

password:

title search:




 


Sat Sep 28 10:13:00 GMT 2024

languages



(google search) (amazon search)
second
download zip of files only

Sun May 12 15:02:51 GMT 2024 From /weblog/languages

go


How go utilizing-multi-core

package main

import "runtime"

func calc()
{
sum := 0;
for i := 0; ; i++ {
sum += i;
}
}

func main()
{
runtime.GOMAXPROCS(4);
go calc();
go calc();
go calc();
go calc();
go calc();
go calc();
go calc();
calc();
}


http://kzk9.net[..]g-multi-core-in-go-programming-language/

A presentation - http://wh3rd.net/practical-go/ http://talks.golang.org/2012/splash.slide#1

Some good thing about go - http://abdullin.com[..]3/12/16/studying-go-language-golang.html

About memory management and thread - http://www.infoq.com/interviews/hudson-go-gc

Several good tools - https://medium.com[..]ous-integration-like-a-boss-941a3a9ad0b6

A few practical comments of using go in production -
https://www.commandercoriander.net/blog/2017/12/31/writing-go/

What We Got Right, What We Got Wrong - https://commandcenter.blogspot.com[..]what-we-got-right-what-we-got-wrong.html https://www.infoq.cn/article/aWpoZIAWM1D8Z6cLzA7l

(google search) (amazon search)


Mon Oct 23 12:55:56 GMT 2023 From /weblog/languages

other languages


Nice thing of Lua - http://tjholowaychuk.com[..]a-scripting-is-badass?5ec266c0?8b310bf0`

a lot of quick start cookbooks of various languages - http://pleac.sourceforge.net/ and here is video tutorials - http://freescienceonline.blogspot.com[..]ucation-lectures.html?search=programming

Yet other JVM base language, it is very erlang like - http://clojure.sourceforge.net/ http://groups.google.com[..]vuI1Vhhmpjq_tXqhHSmIzvYz_Xjy5kXSYlvYYdgY

http://tutorialzine.com[..]2/the-10-weirdest-programming-languages/

Javascript quick note - https://jaxenter.com/javascript-crib-notes-136893.html

Excel - https://martinfowler.com/bliki/IllustrativeProgramming.html

Flix aims to offer a unique combination of features that no other programming language offers, including: algebraic data types and pattern matching (like Haskell, OCaml), extensible records (like Elm), type classes (like Haskell, Rust), higher-kinded types (like Haskell), type inference (like Haskell, OCaml), channel and process-based concurrency (like Go), a polymorphic effect system (a unique feature), purity reflection (a unique feature), first-class Datalog constraints (a unique feature), and compilation to JVM bytecode (like Scala). - https://flix.dev/

Embracing Julia: An Invitation Letter - https://towardsdatascience.com[..]-julia-an-invitation-letter-332f5709378e

(google search) (amazon search)


Sun Jul 09 14:06:41 GMT 2023 From /weblog/languages

general


Sites that rate popularity of difference computer language

http://www.tiobe.com/tpci.htm
http://dada.perl.it/shootout/
http://www.99-bottles-of-beer.net/

How loop generate GOTO statement - http://www.abhisheksur.com[..]01/internals-of-loops-while-for-and.html

The Hundred-Year Programming Language - https://codefol.io/posts/the-hundred-year-programming-language/ https://www.infoq.cn/article/HPJJzCMZaj1PrgrqYRzG


(google search) (amazon search)



Fri Dec 25 03:28:30 GMT 2020 From /weblog/languages

smalltalk


Free tutorial - http://www.iam.unibe.ch/~ducasse/FreeBooks.html http://squeak.preeminent.org/tut2007/html/index.html

History - http://users.ipa.net[..]/design_principles_behind_smalltalk.html

Smalltalk Zoo - https://medium.com[..]troducing-the-smalltalk-zoo-25b64ebeb642

(google search) (amazon search)


Thu Dec 24 00:49:03 GMT 2020 From /weblog/languages/c

misc


The long past of C, how standard growth in C - http://esr.ibiblio.org/?p=4304

The state of C - http://drdobbs.com[..]int?articleId=223000089&siteSectionName=

Reference of C libraries - http://programmers.stackexchange.com[..]out-there-that-include-the-gnu-c-library

Reflection for C - http://altdevblogaday.com[..]/25/reflection-in-c-part-1-introduction/

Interesting idea, integrate C and lisp - http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html

How to prevent code duplication in C - http://groups.google.com[..]read/thread/b4d029524579944e?hl=en&pli=1

Why need header - http://stackoverflow.com[..]7/why-does-c-need-a-separate-header-file

How to monitor file usage - http://www.thegeekstuff.com/2010/04/inotify-c-program-example

C programming questions - http://stevenkobes.com/ctest.html

Taking input for compilation - http://susam.in/blog/compiler-taking-input-while-compiling/

Understand lvalues and rvalues - http://eli.thegreenplace.net[..]standing-lvalues-and-rvalues-in-c-and-c/

http://www.thegeekstuff.com/2012/05/classic-unix-books

You may have something like
switch (x) {
case 1 ... 100:
printf("1 <= %d <= 100\n", x);
break;
http://www.lainoox.com/ranges-in-c-switch-statements/

Tutorial - http://cslibrary.stanford.edu/101/EssentialC.pdf

C Is Not a Low-level Language - https://queue.acm.org/detail.cfm?id=3212479

(google search) (amazon search)


Sat Sep 05 14:20:27 GMT 2020 From /weblog/languages

rust


memory management - https://blog.discordapp.com[..]s-switching-from-go-to-rust-a190bbca2b1f https://www.infoq.cn/article/0scE4VCqzm8JWc50Jzsm

Rust - http://www.infoq.com/cn/articles/rust-core-components http://kamalmarhubi.com[..]t-nix-easier-unix-systems-programming-3/

深入了解 Rust 异步开发模式 - https://xie.infoq.cn/article/0b2cf4ce21a9ff65a833e7116?y=qun0904

(google search) (amazon search)


Wed Sep 02 05:47:43 GMT 2020 From /weblog/languages

chinese


Chinese character detail - https://chardb.iis.sinica.edu.tw/

(google search) (amazon search)


Thu Jun 01 15:13:08 GMT 2017 From /weblog/languages/c

optimization


Optimizing Pixomatic for x86 Processors part II

http://www.ddj.com/architect/184405765
http://www.ddj.com/184405807
http://www.ddj.com/184405848
http://www.home.comcast.net[..]tom_forsyth/papers/pixomatic_gdc2004.ppt

Fast way to add null after each char from a string - http://groups.google.com[..]wse_thread/thread/51d0f84dd22ad734?hl=en

Move 80 bytes asap - http://codereview.stackexchange.com[..]520/copying-80-bytes-as-fast-as-possible

Pass by value maybe faster than pass by reference - http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/

Why is java consumer/producer so much faster than C++, a lot of analysis and optimization tips for C++ coding - https://groups.google.com[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI

case study of optimization with asm output - http://roartindon.blogspot.hk[..]2016/04/boosting-zopfli-performance.html

Thread-Local Storage - http://david-grs.github.io/tls_performance_overhead_cost_linux/

There are chance that remove branching make code run faster -
http://www.infoq.com/cn/articles/x86-high-performance-programming Other articles in same series - http://www.infoq.com[..]86-high-performance-programming-pipeline
http://www.infoq.com[..]igh-performance-programming-optimization

(google search) (amazon search)


Thu Feb 16 14:45:06 GMT 2017 From /weblog/languages/c

book


https://www.ossblog.org[..]ming-with-9-excellent-open-source-books/

https://www.ossblog.org[..]er-c-programming-with-open-source-books/

(google search) (amazon search)



Tue Jan 05 15:00:16 GMT 2016 From /weblog/languages/c

cpp


Element of Modern C++ Style, new language feature of C++11 - http://www.herbsutter.com/elements-of-modern-c-style/ , complete tutorial of C++11 - http://www2.research.att.com/~bs/C++0xFAQ.html . And also list of document - http://punchcard.wordpress.com/2011/11/01/c11-c0x-documentation/

How to embed script in C++ - http://dobbscodetalk.com[..]ing-Language-in-CPlusPlus.html&Itemid=29

Is CPP that crap? http://lwn.net/Articles/249460/

lint for c++ - http://groups.google.com[..]wse_thread/thread/b895a69d84ff909d?pli=1

http://www.ddj.com/cpp/archives.jhtml

Namespace tutorial - http://www.dreamincode.net/forums/showtopic59841.htm

http://loadcode.blogspot.com/2009/11/advantages-of-c-over-c.html

Delete a pointer in iterator - http://groups.google.com[..]wse_thread/thread/cfff42bf0c8a569c?hl=en

Discussing about using standard container without copy constructor - http://groups.google.com[..]wse_thread/thread/50e174f87d0261cd?hl=en

Free books - https://tfetimes.com/free-c-books/

(google search) (amazon search)


Sun Jun 22 09:35:32 GMT 2014 From /weblog/languages

Erlang


http://www.infoq.com[..]lding-Highly-Available-Systems-in-Erlang

Overview of Erlang memory model, per thread heap and low thread footprint - http://www.javacodegeeks.com[..]/erlang-vs-java-memory-architecture.html

Concurrency is an area where Erlang shines - http://www.sics.se/~joe/apachevsyaws.html http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3364027251

And then, note the flatness of Erlang CPU-time curves and decent C (coroutine) performance compared to abysmal Java 6 and C++ (Pthreads) data in this benchmark - http://shootout.alioth.debian.org[..]ge&p1=hipe-2&p2=gpp-2&p3=gcc-2&p4=java-0

Another article about Erlang, contains pointers to useful site and reference large scale project - http://www.ddj.com[..]201001928?cid=RSSfeed_DDJ_ArchitectDebug http://www.infoq.com[..]2007/08/erlang-java-for-concurrent-futur http://www.ddj.com[..]og/archives/2007/10/functional_prog.html

Mnesia , DBMS powered by Erlang - http://www.infoq.com/news/2007/08/mnesia

Comment of OO from Joe Armstrong, http://www.sics.se/~joe/bluetail/vol1/v1_oo.html , that tell why Erlang look like this, and why me and my college feel uncomfortable with it....

Some issues of Erlang - http://www.artima.com/forums/flat.jsp?forum=276&thread=226786

Map reduce at Erlang - http://horicky.blogspot.com[..]/06/exploring-erlang-with-mapreduce.html

http://highscalability.com[..]ly-500-million-users-11000-cores-an.html

(google search) (amazon search)


Tue Oct 29 10:40:18 GMT 2013 From /weblog/languages

lisp


Implementing a blog in common lisp - http://dirtyhack.org/vetler/docs/cl-webapp-intro/part-1/

Arc, new dialect of Lisp - http://jamesshore.com/Blog/No-Take-the-Fit-Challenge-Instead.html

Detail discuss the good and bad of lisp for C programmers - http://prog-elisp.blogspot.ru/2013/10/lisp-for-c-programmers.html

(google search) (amazon search)


Mon Aug 12 09:31:03 GMT 2013 From /weblog/languages/c

style


How to have good C code -

- Be Disciplined About Namespace Management
- Clearly Document Published APIs
- Keep Data Types Abstract
- Use Polymorphism Judiciously
- Prefer Modularisation Over Conditional Compilation
- The Best Way to Modularise a Large C Codebase is Don't Have a Large C Codebase!

http://www.natpryce.com/articles/000799.html

(google search) (amazon search)


Sat Jul 13 10:02:24 GMT 2013 From /weblog/languages/c

ide


http://programmers.stackexchange.com[..]-lightweight-c-editor-or-ide-for-windows

13 Linux Debuggers for C++ Reviewed - http://www.drdobbs.com[..]icleId=240156817&siteSectionName=testing

(google search) (amazon search)


Sun Nov 04 02:01:04 GMT 2012 From /weblog/languages/c

compiler


Template variable name lookup explain - http://groups.google.com[..]+/browse_thread/thread/e8755b9cb8f0fd61#

How link work, and how to debug if thing doesn't work - http://www.thegeekstuff.com/2011/10/gcc-linking

How to create static / dynamic library - http://www.lainoox.com/c-shared-libraries-static-dynamic/

GCC - http://www.thegeekstuff.com/2012/10/gcc-compiler-options/

(google search) (amazon search)


Sun Oct 28 01:42:16 GMT 2012 From /weblog/languages/c

network


Sample code of flooding network with raw socket - http://www.lainoox.com/c-syn-flood-raw-socket/

C99 socket programming - http://gustedt.wordpress.com[..]m/2011/10/24/socket-programming-and-c99/

How to Perform Packet Sniffing Using Libpcap with C Example Code - http://www.thegeekstuff.com[..]m/2012/10/packet-sniffing-using-libpcap/

(google search) (amazon search)



Tue Aug 21 14:56:25 GMT 2012 From /weblog/languages/c

profiler


gprof - http://www.ibm.com/developerworks/library/l-gnuprof.html http://www.thegeekstuff.com/2012/08/gprof-tutorial/

(google search) (amazon search)


Sat Jul 28 04:01:37 GMT 2012 From /weblog/languages/c

make


Make alternatives - http://freecode.com/articles/make-alternatives

(google search) (amazon search)



Wed May 09 16:29:56 GMT 2012 From /weblog/languages/c

security


Security coding standard for C - http://www.drdobbs.com[..]8_h&elq=71bc323bdc004bfc8091ce3238c093a2

(google search) (amazon search)


Wed Apr 25 16:02:07 GMT 2012 From /weblog/languages/c

system


How to add file in /proc - http://www.thegeekstuff.com/2012/04/create-proc-files

Basic about unix signal - http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/

limitation of select call - http://www.moythreads.com[..]009/12/22/select-system-call-limitation/

Give hint to kernal about how use swap memory - http://linux.die.net/man/2/madvise

Recursive ls - http://synesis.com.au/software/recls/

Socket programming tutorial - http://www.codedanger.com/caglar/?p=210 http://simplestcodings.com/2011/01/18/ping/

Discussion about making flush() reliable - http://groups.google.com[..]wse_thread/thread/71da1187ec3b0445?hl=en

(google search) (amazon search)


Sun Apr 01 13:02:15 GMT 2012 From /weblog/languages

cobol


Where will cobol go? - http://www.javaworld.com[..]s-legacy-could-be-lost.html&site=jw_core

(google search) (amazon search)