Re: My first proposal

Vladimir Tzankov <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAHWYE6JNRYrsq93WTnavUKdR-Fqjoh7Mj_OqjM6U5PRKSf52fQ@mail.gmail.com>
Hi Abhishek,

Happy to see you want to work on thread safe hash tables in CLisp
while participating in gsoc.
Since the time is tight (April, 3rd), let’s try to get good proposal!

Basically there are two approaches.

1. Ensure clisp doesn't segfault because of concurrency issues with
hash tables. This means non-synchronised access to a hash table may
produce arbitrary results but should never segfault.
2. Reimplement current hash tables with the above guarantee and better
performance both in single and multi thread builds.

While I'm in favour of the the latter it's more practical to do first
the former. Proper reimplementation probably won't fit in gsoc
timeframe - weak semantics and GC interactions are non-trivial to get
right and will take a lot of time and efforts.

I would suggest a plan around identifying segfault issues with hash
tables in MT builds and fixing them. Also synchronisation should be
added to ensure expected behaviour in certain places (clos?).

BR
  Vlad

On Sun, Mar 26, 2017 at 6:58 AM, Compro Prasad <[email protected]> wrote:
> Sorry, for late reply but I got time on Mar 25 only as of this writing. I
> have given the links of my proposal. Please have a look at it. I did it on
> thread safe hash tables:
>
> https://raw.githubusercontent.com/Compro-Prasad/notes/master/gsocproposal-thread-safe-hash-table/README.org
> https://github.com/Compro-Prasad/notes/tree/master/gsocproposal-thread-safe-hash-table
>
> Regards
> Abhishek Prasad
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> clisp-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clisp-devel
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.